#9E20BC#9E20BC

#9E20BC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.3% C 0.231 H 318.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E20BC
RGBrgb(158, 32, 188)
HSLhsl(288, 71%, 43%)
HSVhsv(288, 83%, 74%)
CMYKcmyk(16%, 83%, 0%, 26.3%)
CIE-LABlab(41.11, 68.51, -54.40)
CIE-LCHlch(41.11, 87.48, 321.55°)
OKLaboklab(52.32% 0.1735 -0.1532)
OKLCHoklch(52.32% 0.231 318.6)
XYZxyz(23.6929, 11.9341, 48.6227)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E20BC #3EBC20
analogous
#5020BC #9E20BC #BC208C
triadic
#9E20BC #BC9E20 #20BC9E
tetradic
#9E20BC #BC5020 #3EBC20 #208CBC
square
#9E20BC #BC5020 #3EBC20 #208CBC
split-complementary
#9E20BC #8CBC20 #20BC50
monochromatic
#460E53 #721788 #9E20BC #BF3BDE #D070E7

Accessibility & contrast

On white

6.20
#9E20BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E20BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E20BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E20BC#FFFFFF#000000##FFFFFF
##9E20BC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#9D4671
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e20bc;
/* rgb */ color: rgb(158, 32, 188);
/* oklch */ color: oklch(52.3% 0.231 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ed1',
    500: '#9e20bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e20bc;
$custom-light: #bf6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e20bc",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 288.462,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.23144,
    "h": 318.6
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#9E20BC
secondary
#7ECD6B
accent
#EE3A5D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9E20BC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E20BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva