#9F2396#9F2396

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

Color values

HEX#9F2396
RGBrgb(159, 35, 150)
HSLhsl(304, 64%, 38%)
HSVhsv(304, 78%, 62%)
CMYKcmyk(0%, 78%, 5.7%, 37.6%)
CIE-LABlab(39.20, 61.45, -34.75)
CIE-LCHlch(39.20, 70.59, 330.51°)
OKLaboklab(50.24% 0.1756 -0.0958)
OKLCHoklch(50.24% 0.2 331.4)
XYZxyz(20.4041, 10.7767, 29.8537)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2396 #239F2C
analogous
#6A239F #9F2396 #9F2358
triadic
#9F2396 #969F23 #23969F
tetradic
#9F2396 #9F6A23 #239F2C #23589F
square
#9F2396 #9F6A23 #239F2C #23589F
split-complementary
#9F2396 #589F23 #239F6A
monochromatic
#3B0D37 #6D1867 #9F2396 #D12EC5 #DC60D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2396#FFFFFF#000000##FFFFFF
##9F23961.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A6335C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2396;
/* rgb */ color: rgb(159, 35, 150);
/* oklch */ color: oklch(50.2% 0.200 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6db5',
    500: '#9f2396',
    950: '#000000',
  },
}
SCSS
$custom: #9f2396;
$custom-light: #bf6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2396",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 304.355,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.20005,
    "h": 331.4
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#9F2396
secondary
#5DC164
accent
#E74D41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2396

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

Preview Lab → · Contrast checker → · Palette generator →

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