#9F208D#9F208D

#9F208D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.196 H 334.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9F208D
RGBrgb(159, 32, 141)
HSLhsl(309, 66%, 37%)
HSVhsv(309, 80%, 62%)
CMYKcmyk(0%, 79.9%, 11.3%, 37.6%)
CIE-LABlab(38.43, 60.92, -30.49)
CIE-LCHlch(38.43, 68.12, 333.41°)
OKLaboklab(49.53% 0.1778 -0.0835)
OKLCHoklch(49.53% 0.196 334.9)
XYZxyz(19.6226, 10.3288, 26.1544)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F208D #209F32
analogous
#72209F #9F208D #9F204D
triadic
#9F208D #8D9F20 #208D9F
tetradic
#9F208D #9F7220 #209F32 #204D9F
square
#9F208D #9F7220 #209F32 #204D9F
split-complementary
#9F208D #4D9F20 #209F72
monochromatic
#390B33 #6C1660 #9F208D #D22ABA #DE5BCC

Accessibility & contrast

On white

6.85
#9F208D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F208D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F208D#FFFFFF#000000##FFFFFF
##9F208D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A72C56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f208d;
/* rgb */ color: rgb(159, 32, 141);
/* oklch */ color: oklch(49.5% 0.196 334.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cae',
    500: '#9f208d',
    950: '#000000',
  },
}
SCSS
$custom: #9f208d;
$custom-light: #bf6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f208d",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 308.504,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.1964,
    "h": 334.9
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#9F208D
secondary
#59C268
accent
#E9573E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F208D

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

Preview Lab → · Contrast checker → · Palette generator →

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