#9F2392#9F2392

#9F2392 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.197 H 332.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9F2392
RGBrgb(159, 35, 146)
HSLhsl(306, 64%, 38%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 78%, 8.2%, 37.6%)
CIE-LABlab(38.98, 60.83, -32.66)
CIE-LCHlch(38.98, 69.04, 331.76°)
OKLaboklab(50.02% 0.1755 -0.0898)
OKLCHoklch(50.02% 0.197 332.9)
XYZxyz(20.0875, 10.6500, 28.1863)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2392 #239F30
analogous
#6E239F #9F2392 #9F2354
triadic
#9F2392 #929F23 #23929F
tetradic
#9F2392 #9F6E23 #239F30 #23549F
square
#9F2392 #9F6E23 #239F30 #23549F
split-complementary
#9F2392 #549F23 #239F6E
monochromatic
#3B0D36 #6D1864 #9F2392 #D12EC0 #DC60CF

Accessibility & contrast

On white

6.71
#9F2392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2392
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2392#FFFFFF#000000##FFFFFF
##9F23921.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5195
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#A63159
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2392;
/* rgb */ color: rgb(159, 35, 146);
/* oklch */ color: oklch(50.0% 0.197 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6db2',
    500: '#9f2392',
    950: '#000000',
  },
}
SCSS
$custom: #9f2392;
$custom-light: #bf6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2392",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 306.29,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.19714,
    "h": 332.9
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#9F2392
secondary
#5DC167
accent
#E75241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2392

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

Preview Lab → · Contrast checker → · Palette generator →

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