#9F209B#9F209B

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

Color values

HEX#9F209B
RGBrgb(159, 32, 155)
HSLhsl(302, 66%, 37%)
HSVhsv(302, 80%, 62%)
CMYKcmyk(0%, 79.9%, 2.5%, 37.6%)
CIE-LABlab(39.19, 63.07, -37.80)
CIE-LCHlch(39.19, 73.53, 329.07°)
OKLaboklab(50.33% 0.178 -0.1046)
OKLCHoklch(50.33% 0.206 329.6)
XYZxyz(20.7309, 10.7721, 31.9914)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F209B #209F24
analogous
#64209F #9F209B #9F205B
triadic
#9F209B #9B9F20 #209B9F
tetradic
#9F209B #9F6420 #209F24 #205B9F
square
#9F209B #9F6420 #209F24 #205B9F
split-complementary
#9F209B #5B9F20 #209F64
monochromatic
#390B38 #6C1669 #9F209B #D22ACD #DE5BDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F209B#FFFFFF#000000##FFFFFF
##9F209B1.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)
#03529E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#A5345E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f209b;
/* rgb */ color: rgb(159, 32, 155);
/* oklch */ color: oklch(50.3% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#bf6cb9',
    500: '#9f209b',
    950: '#000000',
  },
}
SCSS
$custom: #9f209b;
$custom-light: #bf6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f209b",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 301.89,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.20646,
    "h": 329.6
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#9F209B
secondary
#59C25C
accent
#E9443E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F209B

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

Preview Lab → · Contrast checker → · Palette generator →

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