#9D20BC#9D20BC

#9D20BC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.2% C 0.231 H 318.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9D20BC
RGBrgb(157, 32, 188)
HSLhsl(288, 71%, 43%)
HSVhsv(288, 83%, 74%)
CMYKcmyk(16.5%, 83%, 0%, 26.3%)
CIE-LABlab(40.95, 68.33, -54.67)
CIE-LCHlch(40.95, 87.51, 321.34°)
OKLaboklab(52.17% 0.1723 -0.154)
OKLCHoklch(52.17% 0.231 318.2)
XYZxyz(23.4970, 11.8331, 48.6135)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D20BC #3FBC20
analogous
#4F20BC #9D20BC #BC208D
triadic
#9D20BC #BC9D20 #20BC9D
tetradic
#9D20BC #BC4F20 #3FBC20 #208DBC
square
#9D20BC #BC4F20 #3FBC20 #208DBC
split-complementary
#9D20BC #8DBC20 #20BC4F
monochromatic
#460E53 #711788 #9D20BC #BD3BDE #CF70E7

Accessibility & contrast

On white

6.24
#9D20BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9D20BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D20BC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D20BC#FFFFFF#000000##FFFFFF
##9D20BC1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#9C4671
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d20bc;
/* rgb */ color: rgb(157, 32, 188);
/* oklch */ color: oklch(52.2% 0.231 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf6dd1',
    500: '#9d20bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d20bc;
$custom-light: #bf6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d20bc",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 288.077,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.2311,
    "h": 318.2
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D20BC

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

Preview Lab → · Contrast checker → · Palette generator →

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