#9F219E#9F219E

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

Color values

HEX#9F219E
RGBrgb(159, 33, 158)
HSLhsl(300, 66%, 38%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0%, 79.2%, 0.6%, 37.6%)
CIE-LABlab(39.46, 63.28, -39.19)
CIE-LCHlch(39.46, 74.43, 328.23°)
OKLaboklab(50.58% 0.1772 -0.1086)
OKLCHoklch(50.58% 0.208 328.5)
XYZxyz(21.0133, 10.9289, 33.3439)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F219E #219F22
analogous
#61219F #9F219E #9F215F
triadic
#9F219E #9E9F21 #219E9F
tetradic
#9F219E #9F6121 #219F22 #215F9F
square
#9F219E #9F6121 #219F22 #215F9F
split-complementary
#9F219E #5F9F21 #219F61
monochromatic
#3A0C39 #6C166C #9F219E #D22CD0 #DD5DDC

Accessibility & contrast

On white

6.59
#9F219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F219E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F219E#FFFFFF#000000##FFFFFF
##9F219E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#A43660
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f219e;
/* rgb */ color: rgb(159, 33, 158);
/* oklch */ color: oklch(50.6% 0.208 328.5);
Tailwind
colors: {
  custom: {
    50: '#bf6dbb',
    500: '#9f219e',
    950: '#000000',
  },
}
SCSS
$custom: #9f219e;
$custom-light: #bf6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f219e",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 300.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.20782,
    "h": 328.5
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#9F219E
secondary
#5AC25B
accent
#E9413F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F219E

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

Preview Lab → · Contrast checker → · Palette generator →

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