#9B209E#9B209E

#9B209E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.207 H 327.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B209E
RGBrgb(155, 32, 158)
HSLhsl(299, 66%, 37%)
HSVhsv(299, 80%, 62%)
CMYKcmyk(1.9%, 79.7%, 0%, 38%)
CIE-LABlab(38.68, 62.74, -40.48)
CIE-LCHlch(38.68, 74.66, 327.17°)
OKLaboklab(49.89% 0.1736 -0.1125)
OKLCHoklch(49.89% 0.207 327.1)
XYZxyz(20.2053, 10.4717, 33.2981)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B209E #239E20
analogous
#5C209E #9B209E #9E2062
triadic
#9B209E #9E9B20 #209E9B
tetradic
#9B209E #9E5C20 #239E20 #20629E
square
#9B209E #9E5C20 #239E20 #20629E
split-complementary
#9B209E #629E20 #209E5C
monochromatic
#370B38 #69166B #9B209E #CD2AD1 #DB5BDE

Accessibility & contrast

On white

6.79
#9B209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B209E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B209E#FFFFFF#000000##FFFFFF
##9B209E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#A0375F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b209e;
/* rgb */ color: rgb(155, 32, 158);
/* oklch */ color: oklch(49.9% 0.207 327.1);
Tailwind
colors: {
  custom: {
    50: '#bc6cbb',
    500: '#9b209e',
    950: '#000000',
  },
}
SCSS
$custom: #9b209e;
$custom-light: #bc6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b209e",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 298.571,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.2069,
    "h": 327.1
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#9B209E
secondary
#5AC258
accent
#E93F43
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9B209E

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

Preview Lab → · Contrast checker → · Palette generator →

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