#9C20A7#9C20A7

#9C20A7 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.214 H 324.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C20A7
RGBrgb(156, 32, 167)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 65%)
CMYKcmyk(6.6%, 80.8%, 0%, 34.5%)
CIE-LABlab(39.40, 64.45, -44.72)
CIE-LCHlch(39.40, 78.44, 325.24°)
OKLaboklab(50.61% 0.1741 -0.1249)
OKLCHoklch(50.61% 0.214 324.3)
XYZxyz(21.2013, 10.8924, 37.5375)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C20A7 #2BA720
analogous
#5920A7 #9C20A7 #A7206F
triadic
#9C20A7 #A79C20 #20A79C
tetradic
#9C20A7 #A75920 #2BA720 #206FA7
square
#9C20A7 #A75920 #2BA720 #206FA7
split-complementary
#9C20A7 #6FA720 #20A759
monochromatic
#3C0C40 #6C1674 #9C20A7 #C92DD7 #D661E1

Accessibility & contrast

On white

6.61
#9C20A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C20A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C20A7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C20A7#FFFFFF#000000##FFFFFF
##9C20A71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#9F3B65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c20a7;
/* rgb */ color: rgb(156, 32, 167);
/* oklch */ color: oklch(50.6% 0.214 324.3);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9c20a7',
    950: '#000000',
  },
}
SCSS
$custom: #9c20a7;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c20a7",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 295.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.21423,
    "h": 324.3
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C20A7

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

Preview Lab → · Contrast checker → · Palette generator →

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