#9F209D#9F209D

#9F209D is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.208 H 328.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F209D
RGBrgb(159, 32, 157)
HSLhsl(301, 66%, 37%)
HSVhsv(301, 80%, 62%)
CMYKcmyk(0%, 79.9%, 1.3%, 37.6%)
CIE-LABlab(39.31, 63.39, -38.82)
CIE-LCHlch(39.31, 74.33, 328.51°)
OKLaboklab(50.45% 0.178 -0.1076)
OKLCHoklch(50.45% 0.208 328.8)
XYZxyz(20.9002, 10.8399, 32.8833)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F209D #209F22
analogous
#62209F #9F209D #9F205D
triadic
#9F209D #9D9F20 #209D9F
tetradic
#9F209D #9F6220 #209F22 #205D9F
square
#9F209D #9F6220 #209F22 #205D9F
split-complementary
#9F209D #5D9F20 #209F62
monochromatic
#390B38 #6C166B #9F209D #D22ACF #DE5BDC

Accessibility & contrast

On white

6.63
#9F209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F209D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F209D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F209D#FFFFFF#000000##FFFFFF
##9F209D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#A5355F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f209d;
/* rgb */ color: rgb(159, 32, 157);
/* oklch */ color: oklch(50.4% 0.208 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cba',
    500: '#9f209d',
    950: '#000000',
  },
}
SCSS
$custom: #9f209d;
$custom-light: #bf6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f209d",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 300.945,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.20795,
    "h": 328.8
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#9F209D
secondary
#59C25A
accent
#E9413E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F209D

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

Preview Lab → · Contrast checker → · Palette generator →

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