#9B20A6#9B20A6

#9B20A6 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.213 H 324.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B20A6
RGBrgb(155, 32, 166)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 65%)
CMYKcmyk(6.6%, 80.7%, 0%, 34.9%)
CIE-LABlab(39.17, 64.08, -44.50)
CIE-LCHlch(39.17, 78.02, 325.22°)
OKLaboklab(50.39% 0.1731 -0.1243)
OKLCHoklch(50.39% 0.213 324.3)
XYZxyz(20.9164, 10.7561, 37.0434)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B20A6 #2BA620
analogous
#5820A6 #9B20A6 #A6206E
triadic
#9B20A6 #A69B20 #20A69B
tetradic
#9B20A6 #A65820 #2BA620 #206EA6
square
#9B20A6 #A65820 #2BA620 #206EA6
split-complementary
#9B20A6 #6EA620 #20A658
monochromatic
#3B0C3F #6B1673 #9B20A6 #C92DD6 #D660E0

Accessibility & contrast

On white

6.66
#9B20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B20A6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B20A6#FFFFFF#000000##FFFFFF
##9B20A61.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#9E3B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b20a6;
/* rgb */ color: rgb(155, 32, 166);
/* oklch */ color: oklch(50.4% 0.213 324.3);
Tailwind
colors: {
  custom: {
    50: '#bd6cc1',
    500: '#9b20a6',
    950: '#000000',
  },
}
SCSS
$custom: #9b20a6;
$custom-light: #bd6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b20a6",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 295.075,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.21304,
    "h": 324.3
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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