Medium purple to RGB — Color Code

#9e43a2
Format Value
HEX #9e43a2
RGB rgb(158, 67, 162)
HSL hsl(297.5, 41.5%, 44.9%)
CMYK cmyk(2.5%, 58.6%, 0%, 36.5%)
HSV hsv(297.5, 58.6%, 63.5%)

medium purple color harmonies

Tints & shades of medium purple

Tints (lighter)

#a754aa #b065b3 #b876bb #c187c4 #ca98cc #d3aad5 #dcbbdd #e5cce6 #edddee #f6eef7

Shades (darker)

#903d93 #813785 #733176 #652b67 #562558 #481e4a #39183b #2b122c #1d0c1d #0e060f

Contrast & accessibility

The quick brown fox

On white · 5.56:1 · AA

The quick brown fox

On black · 3.78:1 · AA Large

Recommended text color: #ffffff

Use medium purple in code

CSS color: #9e43a2;
SCSS $color: #9e43a2;
Tailwind bg-[#9e43a2]
Swift UIColor(red: 0.620, green: 0.263, blue: 0.635, alpha: 1)
Android Color.parseColor("#9e43a2")
Flutter Color(0xFF9E43A2)

Colors similar to medium purple

Browse all Pink colors →

What is the RGB code for medium purple?

The CSS color medium purple in RGB format is rgb(158, 67, 162). Use this value directly in CSS, SVG, and most design tools.

How do I use medium purple in CSS?

To apply medium purple in CSS:

  • Text color: color: rgb(158, 67, 162);
  • Background: background-color: rgb(158, 67, 162);
  • Border: border-color: rgb(158, 67, 162);

What are all the color format values for medium purple?

FormatValue
HEX#9e43a2
RGBrgb(158, 67, 162)
HSLhsl(297.5, 41.5%, 44.9%)
CMYKcmyk(2.5%, 58.6%, 0%, 36.5%)

How do I convert medium purple to RGB?

Select medium purple from the color name list in our color converter. The RGB value — rgb(158, 67, 162) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does medium purple belong to?

medium purple belongs to the pink color family. It is a medium, moderately saturated color with HSL values: hue 297.5°, saturation 41.5%, lightness 44.9%.

How do I create lighter and darker shades of medium purple?

Lighter variant (lightness 59.9%): #c06ec3. Darker variant (lightness 29.9%): #692d6c. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.