#9F208F#9F208F

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

Color values

HEX#9F208F
RGBrgb(159, 32, 143)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 80%, 62%)
CMYKcmyk(0%, 79.9%, 10.1%, 37.6%)
CIE-LABlab(38.53, 61.21, -31.55)
CIE-LCHlch(38.53, 68.86, 332.74°)
OKLaboklab(49.64% 0.1779 -0.0865)
OKLCHoklch(49.64% 0.198 334.1)
XYZxyz(19.7727, 10.3889, 26.9452)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F208F #209F30
analogous
#6F209F #9F208F #9F2050
triadic
#9F208F #8F9F20 #208F9F
tetradic
#9F208F #9F6F20 #209F30 #20509F
square
#9F208F #9F6F20 #209F30 #20509F
split-complementary
#9F208F #509F20 #209F6F
monochromatic
#390B33 #6C1661 #9F208F #D22ABD #DE5BCE

Accessibility & contrast

On white

6.82
#9F208F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F208F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F208F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F208F#FFFFFF#000000##FFFFFF
##9F208F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A72E57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f208f;
/* rgb */ color: rgb(159, 32, 143);
/* oklch */ color: oklch(49.6% 0.198 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6cb0',
    500: '#9f208f',
    950: '#000000',
  },
}
SCSS
$custom: #9f208f;
$custom-light: #bf6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f208f",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 307.559,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.1978,
    "h": 334.1
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#9F208F
secondary
#59C266
accent
#E9543E
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F208F

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

Preview Lab → · Contrast checker → · Palette generator →

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