#9F219A#9F219A

#9F219A is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 329.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9F219A
RGBrgb(159, 33, 154)
HSLhsl(302, 66%, 38%)
HSVhsv(302, 79%, 62%)
CMYKcmyk(0%, 79.2%, 3.1%, 37.6%)
CIE-LABlab(39.23, 62.64, -37.13)
CIE-LCHlch(39.23, 72.82, 329.34°)
OKLaboklab(50.34% 0.1773 -0.1027)
OKLCHoklch(50.34% 0.205 329.9)
XYZxyz(20.6746, 10.7934, 31.5600)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F219A #219F26
analogous
#65219F #9F219A #9F215B
triadic
#9F219A #9A9F21 #219A9F
tetradic
#9F219A #9F6521 #219F26 #215B9F
square
#9F219A #9F6521 #219F26 #215B9F
split-complementary
#9F219A #5B9F21 #219F65
monochromatic
#3A0C38 #6C1669 #9F219A #D22CCB #DD5DD8

Accessibility & contrast

On white

6.65
#9F219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F219A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F219A#FFFFFF#000000##FFFFFF
##9F219A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A5345D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f219a;
/* rgb */ color: rgb(159, 33, 154);
/* oklch */ color: oklch(50.3% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cb8',
    500: '#9f219a',
    950: '#000000',
  },
}
SCSS
$custom: #9f219a;
$custom-light: #bf6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f219a",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 302.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.20485,
    "h": 329.9
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9F219A
secondary
#5AC25E
accent
#E9463F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F219A

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

Preview Lab → · Contrast checker → · Palette generator →

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