#9D20A9#9D20A9

#9D20A9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.216 H 324.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9D20A9
RGBrgb(157, 32, 169)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 66%)
CMYKcmyk(7.1%, 81.1%, 0%, 33.7%)
CIE-LABlab(39.69, 64.98, -45.44)
CIE-LCHlch(39.69, 79.29, 325.04°)
OKLaboklab(50.89% 0.175 -0.1269)
OKLCHoklch(50.89% 0.216 324)
XYZxyz(21.5820, 11.0671, 38.5278)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D20A9 #2CA920
analogous
#5920A9 #9D20A9 #A92070
triadic
#9D20A9 #A99D20 #20A99D
tetradic
#9D20A9 #A95920 #2CA920 #2070A9
square
#9D20A9 #A95920 #2CA920 #2070A9
split-complementary
#9D20A9 #70A920 #20A959
monochromatic
#3D0D42 #6D1676 #9D20A9 #C92FD8 #D662E1

Accessibility & contrast

On white

6.54
#9D20A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9D20A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D20A9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D20A9#FFFFFF#000000##FFFFFF
##9D20A91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#A03C66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d20a9;
/* rgb */ color: rgb(157, 32, 169);
/* oklch */ color: oklch(50.9% 0.216 324.0);
Tailwind
colors: {
  custom: {
    50: '#be6dc3',
    500: '#9d20a9',
    950: '#000000',
  },
}
SCSS
$custom: #9d20a9;
$custom-light: #be6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d20a9",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 294.745,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.21619,
    "h": 324
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#9D20A9
secondary
#68C65F
accent
#EB3D4C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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