#9F2199#9F2199

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

Color values

HEX#9F2199
RGBrgb(159, 33, 153)
HSLhsl(303, 66%, 38%)
HSVhsv(303, 79%, 62%)
CMYKcmyk(0%, 79.2%, 3.8%, 37.6%)
CIE-LABlab(39.17, 62.48, -36.62)
CIE-LCHlch(39.17, 72.42, 329.63°)
OKLaboklab(50.28% 0.1773 -0.1012)
OKLCHoklch(50.28% 0.204 330.3)
XYZxyz(20.5916, 10.7602, 31.1232)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2199 #219F27
analogous
#66219F #9F2199 #9F215A
triadic
#9F2199 #999F21 #21999F
tetradic
#9F2199 #9F6621 #219F27 #215A9F
square
#9F2199 #9F6621 #219F27 #215A9F
split-complementary
#9F2199 #5A9F21 #219F66
monochromatic
#3A0C37 #6C1668 #9F2199 #D22CCA #DD5DD7

Accessibility & contrast

On white

6.66
#9F2199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2199
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2199#FFFFFF#000000##FFFFFF
##9F21991.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A5345D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2199;
/* rgb */ color: rgb(159, 33, 153);
/* oklch */ color: oklch(50.3% 0.204 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6cb7',
    500: '#9f2199',
    950: '#000000',
  },
}
SCSS
$custom: #9f2199;
$custom-light: #bf6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2199",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 302.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.20411,
    "h": 330.3
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#9F2199
secondary
#5AC25F
accent
#E9473F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2199

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

Preview Lab → · Contrast checker → · Palette generator →

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