#9F219F#9F219F

#9F219F is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.209 H 328.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F219F
RGBrgb(159, 33, 159)
HSLhsl(300, 66%, 38%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0%, 79.2%, 0%, 37.6%)
CIE-LABlab(39.52, 63.44, -39.70)
CIE-LCHlch(39.52, 74.84, 327.97°)
OKLaboklab(50.64% 0.1771 -0.1101)
OKLCHoklch(50.64% 0.209 328.1)
XYZxyz(21.0997, 10.9634, 33.7990)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F219F #219F21
analogous
#60219F #9F219F #9F2160
triadic
#9F219F #9F9F21 #219F9F
tetradic
#9F219F #9F6021 #219F21 #21609F
square
#9F219F #9F6021 #219F21 #21609F
split-complementary
#9F219F #609F21 #219F60
monochromatic
#3A0C3A #6C166C #9F219F #D22CD2 #DD5DDD

Accessibility & contrast

On white

6.58
#9F219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F219F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F219F#FFFFFF#000000##FFFFFF
##9F219F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#46639C
Tritanopia (blue-blind)
#A43760
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f219f;
/* rgb */ color: rgb(159, 33, 159);
/* oklch */ color: oklch(50.6% 0.209 328.1);
Tailwind
colors: {
  custom: {
    50: '#bf6dbc',
    500: '#9f219f',
    950: '#000000',
  },
}
SCSS
$custom: #9f219f;
$custom-light: #bf6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f219f",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.20857,
    "h": 328.1
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#9F219F
secondary
#5AC25A
accent
#E93F3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F219F

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

Preview Lab → · Contrast checker → · Palette generator →

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