#9F209E#9F209E

#9F209E is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.209 H 328.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9F209E
RGBrgb(159, 32, 158)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0%, 79.9%, 0.6%, 37.6%)
CIE-LABlab(39.37, 63.55, -39.33)
CIE-LCHlch(39.37, 74.74, 328.24°)
OKLaboklab(50.51% 0.1779 -0.1091)
OKLCHoklch(50.51% 0.209 328.5)
XYZxyz(20.9859, 10.8742, 33.3347)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F209E #209F21
analogous
#60209F #9F209E #9F205F
triadic
#9F209E #9E9F20 #209E9F
tetradic
#9F209E #9F6020 #209F21 #205F9F
square
#9F209E #9F6020 #209F21 #205F9F
split-complementary
#9F209E #5F9F20 #209F60
monochromatic
#390B39 #6C166B #9F209E #D22AD1 #DE5BDD

Accessibility & contrast

On white

6.62
#9F209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F209E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F209E#FFFFFF#000000##FFFFFF
##9F209E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#A4365F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f209e;
/* rgb */ color: rgb(159, 32, 158);
/* oklch */ color: oklch(50.5% 0.209 328.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cbb',
    500: '#9f209e',
    950: '#000000',
  },
}
SCSS
$custom: #9f209e;
$custom-light: #bf6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f209e",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 300.472,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.20869,
    "h": 328.5
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#9F209E
secondary
#59C259
accent
#E9403E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F209E

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

Preview Lab → · Contrast checker → · Palette generator →

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