#9F209C#9F209C

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

Color values

HEX#9F209C
RGBrgb(159, 32, 156)
HSLhsl(301, 66%, 37%)
HSVhsv(301, 80%, 62%)
CMYKcmyk(0%, 79.9%, 1.9%, 37.6%)
CIE-LABlab(39.25, 63.23, -38.31)
CIE-LCHlch(39.25, 73.93, 328.79°)
OKLaboklab(50.39% 0.178 -0.1061)
OKLCHoklch(50.39% 0.207 329.2)
XYZxyz(20.8152, 10.8059, 32.4355)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F209C #209F23
analogous
#62209F #9F209C #9F205D
triadic
#9F209C #9C9F20 #209C9F
tetradic
#9F209C #9F6220 #209F23 #205D9F
square
#9F209C #9F6220 #209F23 #205D9F
split-complementary
#9F209C #5D9F20 #209F62
monochromatic
#390B38 #6C166A #9F209C #D22ACE #DE5BDB

Accessibility & contrast

On white

6.64
#9F209C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F209C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F209C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F209C#FFFFFF#000000##FFFFFF
##9F209C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#A5355E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f209c;
/* rgb */ color: rgb(159, 32, 156);
/* oklch */ color: oklch(50.4% 0.207 329.2);
Tailwind
colors: {
  custom: {
    50: '#bf6cba',
    500: '#9f209c',
    950: '#000000',
  },
}
SCSS
$custom: #9f209c;
$custom-light: #bf6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f209c",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 301.417,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.20721,
    "h": 329.2
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#9F209C
secondary
#59C25B
accent
#E9423E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F209C

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

Preview Lab → · Contrast checker → · Palette generator →

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