#9D20CA#9D20CA

#9D20CA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.2% C 0.242 H 314.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9D20CA
RGBrgb(157, 32, 202)
HSLhsl(284, 73%, 46%)
HSVhsv(284, 84%, 79%)
CMYKcmyk(22.3%, 84.2%, 0%, 20.8%)
CIE-LABlab(41.95, 70.93, -61.23)
CIE-LCHlch(41.95, 93.70, 319.19°)
OKLaboklab(53.18% 0.1694 -0.1732)
OKLCHoklch(53.18% 0.242 314.4)
XYZxyz(25.0800, 12.4663, 56.9508)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D20CA #4DCA20
analogous
#4820CA #9D20CA #CA20A2
triadic
#9D20CA #CA9D20 #20CA9D
tetradic
#9D20CA #CA4820 #4DCA20 #20A2CA
square
#9D20CA #CA4820 #4DCA20 #20A2CA
split-complementary
#9D20CA #A2CA20 #20CA48
monochromatic
#4B0F60 #741895 #9D20CA #B846E2 #CC7AEA

Accessibility & contrast

On white

6.01
#9D20CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D20CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D20CA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D20CA#FFFFFF#000000##FFFFFF
##9D20CA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0566C7
Tritanopia (blue-blind)
#994D79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d20ca;
/* rgb */ color: rgb(157, 32, 202);
/* oklch */ color: oklch(53.2% 0.242 314.4);
Tailwind
colors: {
  custom: {
    50: '#bf6edb',
    500: '#9d20ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d20ca;
$custom-light: #bf6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d20ca",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 202
  },
  "hsl": {
    "h": 284.118,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.24233,
    "h": 314.4
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#9D20CA
secondary
#8DD274
accent
#EF3869
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9D20CA

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

Preview Lab → · Contrast checker → · Palette generator →

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