#9C20A0#9C20A0

#9C20A0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.209 H 326.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9C20A0
RGBrgb(156, 32, 160)
HSLhsl(298, 67%, 38%)
HSVhsv(298, 80%, 63%)
CMYKcmyk(2.5%, 80%, 0%, 37.3%)
CIE-LABlab(38.97, 63.27, -41.21)
CIE-LCHlch(38.97, 75.51, 326.92°)
OKLaboklab(50.17% 0.1746 -0.1146)
OKLCHoklch(50.17% 0.209 326.7)
XYZxyz(20.5716, 10.6405, 34.2212)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C20A0 #24A020
analogous
#5C20A0 #9C20A0 #A02064
triadic
#9C20A0 #A09C20 #20A09C
tetradic
#9C20A0 #A05C20 #24A020 #2064A0
square
#9C20A0 #A05C20 #24A020 #2064A0
split-complementary
#9C20A0 #64A020 #20A05C
monochromatic
#390C3A #6A166D #9C20A0 #CE2AD3 #DA5CDE

Accessibility & contrast

On white

6.71
#9C20A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C20A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C20A0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C20A0#FFFFFF#000000##FFFFFF
##9C20A01.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c20a0;
/* rgb */ color: rgb(156, 32, 160);
/* oklch */ color: oklch(50.2% 0.209 326.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cbd',
    500: '#9c20a0',
    950: '#000000',
  },
}
SCSS
$custom: #9c20a0;
$custom-light: #bd6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c20a0",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 298.125,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.20886,
    "h": 326.7
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#9C20A0
secondary
#5CC359
accent
#EA3E44
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9C20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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