#9D20A0#9D20A0

#9D20A0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.209 H 327.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9D20A0
RGBrgb(157, 32, 160)
HSLhsl(299, 67%, 38%)
HSVhsv(299, 80%, 63%)
CMYKcmyk(1.9%, 80%, 0%, 37.3%)
CIE-LABlab(39.14, 63.47, -40.92)
CIE-LCHlch(39.14, 75.52, 327.19°)
OKLaboklab(50.32% 0.1757 -0.1137)
OKLCHoklch(50.32% 0.209 327.1)
XYZxyz(20.7660, 10.7407, 34.2303)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D20A0 #23A020
analogous
#5D20A0 #9D20A0 #A02063
triadic
#9D20A0 #A09D20 #20A09D
tetradic
#9D20A0 #A05D20 #23A020 #2063A0
square
#9D20A0 #A05D20 #23A020 #2063A0
split-complementary
#9D20A0 #63A020 #20A05D
monochromatic
#390C3A #6B166D #9D20A0 #CF2AD3 #DB5CDE

Accessibility & contrast

On white

6.67
#9D20A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D20A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D20A0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D20A0#FFFFFF#000000##FFFFFF
##9D20A01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#43619D
Tritanopia (blue-blind)
#A23861
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d20a0;
/* rgb */ color: rgb(157, 32, 160);
/* oklch */ color: oklch(50.3% 0.209 327.1);
Tailwind
colors: {
  custom: {
    50: '#be6cbd',
    500: '#9d20a0',
    950: '#000000',
  },
}
SCSS
$custom: #9d20a0;
$custom-light: #be6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d20a0",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 298.594,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.2093,
    "h": 327.1
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#9D20A0
secondary
#5CC359
accent
#EA3E42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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