#9D20A8#9D20A8

#9D20A8 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.215 H 324.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9D20A8
RGBrgb(157, 32, 168)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 66%)
CMYKcmyk(6.5%, 81%, 0%, 34.1%)
CIE-LABlab(39.63, 64.81, -44.94)
CIE-LCHlch(39.63, 78.87, 325.26°)
OKLaboklab(50.82% 0.1751 -0.1255)
OKLCHoklch(50.82% 0.215 324.4)
XYZxyz(21.4884, 11.0297, 38.0353)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D20A8 #2BA820
analogous
#5920A8 #9D20A8 #A8206F
triadic
#9D20A8 #A89D20 #20A89D
tetradic
#9D20A8 #A85920 #2BA820 #206FA8
square
#9D20A8 #A85920 #2BA820 #206FA8
split-complementary
#9D20A8 #6FA820 #20A859
monochromatic
#3D0C41 #6D1675 #9D20A8 #CA2ED7 #D761E1

Accessibility & contrast

On white

6.55
#9D20A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D20A8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D20A8#FFFFFF#000000##FFFFFF
##9D20A81.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#A03C65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d20a8;
/* rgb */ color: rgb(157, 32, 168);
/* oklch */ color: oklch(50.8% 0.215 324.4);
Tailwind
colors: {
  custom: {
    50: '#be6cc2',
    500: '#9d20a8',
    950: '#000000',
  },
}
SCSS
$custom: #9d20a8;
$custom-light: #be6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d20a8",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 295.147,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.21541,
    "h": 324.4
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#9D20A8
secondary
#66C65E
accent
#EB3D4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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