#9F208B#9F208B

#9F208B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.195 H 335.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F208B
RGBrgb(159, 32, 139)
HSLhsl(309, 66%, 37%)
HSVhsv(309, 80%, 62%)
CMYKcmyk(0%, 79.9%, 12.6%, 37.6%)
CIE-LABlab(38.32, 60.62, -29.42)
CIE-LCHlch(38.32, 67.39, 334.11°)
OKLaboklab(49.43% 0.1777 -0.0804)
OKLCHoklch(49.43% 0.195 335.7)
XYZxyz(19.4751, 10.2698, 25.3777)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F208B #209F34
analogous
#74209F #9F208B #9F204B
triadic
#9F208B #8B9F20 #208B9F
tetradic
#9F208B #9F7420 #209F34 #204B9F
square
#9F208B #9F7420 #209F34 #204B9F
split-complementary
#9F208B #4B9F20 #209F74
monochromatic
#390B32 #6C165E #9F208B #D22AB8 #DE5BC9

Accessibility & contrast

On white

6.88
#9F208B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F208B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F208B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F208B#FFFFFF#000000##FFFFFF
##9F208B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#506188
Tritanopia (blue-blind)
#A72B55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f208b;
/* rgb */ color: rgb(159, 32, 139);
/* oklch */ color: oklch(49.4% 0.195 335.7);
Tailwind
colors: {
  custom: {
    50: '#bf6bad',
    500: '#9f208b',
    950: '#000000',
  },
}
SCSS
$custom: #9f208b;
$custom-light: #bf6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f208b",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 309.449,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.19501,
    "h": 335.7
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#9F208B
secondary
#59C269
accent
#E9593E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F208B

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

Preview Lab → · Contrast checker → · Palette generator →

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