#9B20A8#9B20A8

#9B20A8 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.215 H 323.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9B20A8
RGBrgb(155, 32, 168)
HSLhsl(294, 68%, 39%)
HSVhsv(294, 81%, 66%)
CMYKcmyk(7.7%, 81%, 0%, 34.1%)
CIE-LABlab(39.29, 64.43, -45.50)
CIE-LCHlch(39.29, 78.87, 324.77°)
OKLaboklab(50.52% 0.1729 -0.1272)
OKLCHoklch(50.52% 0.215 323.7)
XYZxyz(21.1013, 10.8301, 38.0172)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B20A8 #2DA820
analogous
#5720A8 #9B20A8 #A82071
triadic
#9B20A8 #A89B20 #20A89B
tetradic
#9B20A8 #A85720 #2DA820 #2071A8
square
#9B20A8 #A85720 #2DA820 #2071A8
split-complementary
#9B20A8 #71A820 #20A857
monochromatic
#3C0C41 #6C1675 #9B20A8 #C72ED7 #D561E1

Accessibility & contrast

On white

6.63
#9B20A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B20A8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B20A8#FFFFFF#000000##FFFFFF
##9B20A81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#3B61A5
Tritanopia (blue-blind)
#9E3C65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b20a8;
/* rgb */ color: rgb(155, 32, 168);
/* oklch */ color: oklch(50.5% 0.215 323.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9b20a8',
    950: '#000000',
  },
}
SCSS
$custom: #9b20a8;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b20a8",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 294.265,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.21459,
    "h": 323.7
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#9B20A8
secondary
#68C65E
accent
#EB3D4E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9B20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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