#9F219C#9F219C

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

Color values

HEX#9F219C
RGBrgb(159, 33, 156)
HSLhsl(301, 66%, 38%)
HSVhsv(301, 79%, 62%)
CMYKcmyk(0%, 79.2%, 1.9%, 37.6%)
CIE-LABlab(39.34, 62.96, -38.16)
CIE-LCHlch(39.34, 73.62, 328.78°)
OKLaboklab(50.46% 0.1772 -0.1057)
OKLCHoklch(50.46% 0.206 329.2)
XYZxyz(20.8425, 10.8606, 32.4446)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F219C #219F24
analogous
#63219F #9F219C #9F215D
triadic
#9F219C #9C9F21 #219C9F
tetradic
#9F219C #9F6321 #219F24 #215D9F
square
#9F219C #9F6321 #219F24 #215D9F
split-complementary
#9F219C #5D9F21 #219F63
monochromatic
#3A0C39 #6C166A #9F219C #D22CCE #DD5DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F219C#FFFFFF#000000##FFFFFF
##9F219C1.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)
#02529F
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#A5355F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f219c;
/* rgb */ color: rgb(159, 33, 156);
/* oklch */ color: oklch(50.5% 0.206 329.2);
Tailwind
colors: {
  custom: {
    50: '#bf6dba',
    500: '#9f219c',
    950: '#000000',
  },
}
SCSS
$custom: #9f219c;
$custom-light: #bf6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f219c",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 301.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50455,
    "c": 0.20632,
    "h": 329.2
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#9F219C
secondary
#5AC25C
accent
#E9433F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F219C

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

Preview Lab → · Contrast checker → · Palette generator →

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