#9C20A6#9C20A6

#9C20A6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.213 H 324.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9C20A6
RGBrgb(156, 32, 166)
HSLhsl(296, 68%, 39%)
HSVhsv(296, 81%, 65%)
CMYKcmyk(6%, 80.7%, 0%, 34.9%)
CIE-LABlab(39.34, 64.28, -44.22)
CIE-LCHlch(39.34, 78.02, 325.47°)
OKLaboklab(50.54% 0.1742 -0.1234)
OKLCHoklch(50.54% 0.213 324.7)
XYZxyz(21.1092, 10.8555, 37.0525)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C20A6 #2AA620
analogous
#5920A6 #9C20A6 #A6206D
triadic
#9C20A6 #A69C20 #20A69C
tetradic
#9C20A6 #A65920 #2AA620 #206DA6
square
#9C20A6 #A65920 #2AA620 #206DA6
split-complementary
#9C20A6 #6DA620 #20A659
monochromatic
#3C0C3F #6C1673 #9C20A6 #CA2DD6 #D760E0

Accessibility & contrast

On white

6.62
#9C20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9C20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C20A6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C20A6#FFFFFF#000000##FFFFFF
##9C20A61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#9F3B64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c20a6;
/* rgb */ color: rgb(156, 32, 166);
/* oklch */ color: oklch(50.5% 0.213 324.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cc1',
    500: '#9c20a6',
    950: '#000000',
  },
}
SCSS
$custom: #9c20a6;
$custom-light: #bd6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c20a6",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 295.522,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.21345,
    "h": 324.7
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#9C20A6
secondary
#65C55D
accent
#EB3D4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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