#9F219B#9F219B

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

Color values

HEX#9F219B
RGBrgb(159, 33, 155)
HSLhsl(302, 66%, 38%)
HSVhsv(302, 79%, 62%)
CMYKcmyk(0%, 79.2%, 2.5%, 37.6%)
CIE-LABlab(39.29, 62.80, -37.65)
CIE-LCHlch(39.29, 73.22, 329.06°)
OKLaboklab(50.4% 0.1772 -0.1042)
OKLCHoklch(50.4% 0.206 329.6)
XYZxyz(20.7582, 10.8268, 32.0005)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F219B #219F25
analogous
#64219F #9F219B #9F215C
triadic
#9F219B #9B9F21 #219B9F
tetradic
#9F219B #9F6421 #219F25 #215C9F
square
#9F219B #9F6421 #219F25 #215C9F
split-complementary
#9F219B #5C9F21 #219F64
monochromatic
#3A0C38 #6C166A #9F219B #D22CCC #DD5DD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F219B#FFFFFF#000000##FFFFFF
##9F219B1.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#A5355E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f219b;
/* rgb */ color: rgb(159, 33, 155);
/* oklch */ color: oklch(50.4% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#bf6db9',
    500: '#9f219b',
    950: '#000000',
  },
}
SCSS
$custom: #9f219b;
$custom-light: #bf6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f219b",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 301.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.20558,
    "h": 329.6
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#9F219B
secondary
#5AC25D
accent
#E9453F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F219B

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

Preview Lab → · Contrast checker → · Palette generator →

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