#9B20C3#9B20C3

#9B20C3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.4% C 0.236 H 315.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9B20C3
RGBrgb(155, 32, 195)
HSLhsl(285, 72%, 45%)
HSVhsv(285, 84%, 76%)
CMYKcmyk(20.5%, 83.6%, 0%, 23.5%)
CIE-LABlab(41.12, 69.29, -58.50)
CIE-LCHlch(41.12, 90.68, 319.82°)
OKLaboklab(52.39% 0.1685 -0.1653)
OKLCHoklch(52.39% 0.236 315.5)
XYZxyz(23.8828, 11.9427, 52.6663)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B20C3 #48C320
analogous
#4A20C3 #9B20C3 #C3209A
triadic
#9B20C3 #C39B20 #20C39B
tetradic
#9B20C3 #C34A20 #48C320 #209AC3
square
#9B20C3 #C34A20 #48C320 #209AC3
split-complementary
#9B20C3 #9AC320 #20C34A
monochromatic
#470F5A #71178E #9B20C3 #B940E0 #CC75E8

Accessibility & contrast

On white

6.20
#9B20C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9B20C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B20C3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B20C3#FFFFFF#000000##FFFFFF
##9B20C31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#1764C0
Tritanopia (blue-blind)
#984A75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b20c3;
/* rgb */ color: rgb(155, 32, 195);
/* oklch */ color: oklch(52.4% 0.236 315.5);
Tailwind
colors: {
  custom: {
    50: '#be6ed6',
    500: '#9b20c3',
    950: '#000000',
  },
}
SCSS
$custom: #9b20c3;
$custom-light: #be6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b20c3",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 285.276,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.23606,
    "h": 315.5
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#9B20C3
secondary
#87CF6F
accent
#EF3966
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9B20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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