#9F219D#9F219D

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

Color values

HEX#9F219D
RGBrgb(159, 33, 157)
HSLhsl(301, 66%, 38%)
HSVhsv(301, 79%, 62%)
CMYKcmyk(0%, 79.2%, 1.3%, 37.6%)
CIE-LABlab(39.40, 63.12, -38.68)
CIE-LCHlch(39.40, 74.03, 328.50°)
OKLaboklab(50.52% 0.1772 -0.1072)
OKLCHoklch(50.52% 0.207 328.8)
XYZxyz(20.9275, 10.8946, 32.8924)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F219D #219F23
analogous
#62219F #9F219D #9F215E
triadic
#9F219D #9D9F21 #219D9F
tetradic
#9F219D #9F6221 #219F23 #215E9F
square
#9F219D #9F6221 #219F23 #215E9F
split-complementary
#9F219D #5E9F21 #219F62
monochromatic
#3A0C39 #6C166B #9F219D #D22CCF #DD5DDB

Accessibility & contrast

On white

6.61
#9F219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F219D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F219D#FFFFFF#000000##FFFFFF
##9F219D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#A5365F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f219d;
/* rgb */ color: rgb(159, 33, 157);
/* oklch */ color: oklch(50.5% 0.207 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6dba',
    500: '#9f219d',
    950: '#000000',
  },
}
SCSS
$custom: #9f219d;
$custom-light: #bf6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f219d",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 300.952,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.20707,
    "h": 328.8
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#9F219D
secondary
#5AC25C
accent
#E9423F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F219D

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

Preview Lab → · Contrast checker → · Palette generator →

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