#9F208E#9F208E

#9F208E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.197 H 334.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F208E
RGBrgb(159, 32, 142)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 80%, 62%)
CMYKcmyk(0%, 79.9%, 10.7%, 37.6%)
CIE-LABlab(38.48, 61.07, -31.02)
CIE-LCHlch(38.48, 68.49, 333.07°)
OKLaboklab(49.59% 0.1778 -0.085)
OKLCHoklch(49.59% 0.197 334.5)
XYZxyz(19.6973, 10.3587, 26.5480)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F208E #209F31
analogous
#70209F #9F208E #9F204F
triadic
#9F208E #8E9F20 #208E9F
tetradic
#9F208E #9F7020 #209F31 #204F9F
square
#9F208E #9F7020 #209F31 #204F9F
split-complementary
#9F208E #4F9F20 #209F70
monochromatic
#390B33 #6C1661 #9F208E #D22ABC #DE5BCD

Accessibility & contrast

On white

6.84
#9F208E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F208E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F208E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F208E#FFFFFF#000000##FFFFFF
##9F208E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A72D56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f208e;
/* rgb */ color: rgb(159, 32, 142);
/* oklch */ color: oklch(49.6% 0.197 334.5);
Tailwind
colors: {
  custom: {
    50: '#bf6caf',
    500: '#9f208e',
    950: '#000000',
  },
}
SCSS
$custom: #9f208e;
$custom-light: #bf6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f208e",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 308.031,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49588,
    "c": 0.1971,
    "h": 334.5
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#9F208E
secondary
#59C267
accent
#E9553E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F208E

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

Preview Lab → · Contrast checker → · Palette generator →

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