#9F2596#9F2596

#9F2596 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 331.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F2596
RGBrgb(159, 37, 150)
HSLhsl(304, 62%, 38%)
HSVhsv(304, 77%, 62%)
CMYKcmyk(0%, 76.7%, 5.7%, 37.6%)
CIE-LABlab(39.41, 60.85, -34.43)
CIE-LCHlch(39.41, 69.92, 330.50°)
OKLaboklab(50.39% 0.1739 -0.0949)
OKLCHoklch(50.39% 0.198 331.4)
XYZxyz(20.4647, 10.8977, 29.8739)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2596 #259F2E
analogous
#6B259F #9F2596 #9F2559
triadic
#9F2596 #969F25 #25969F
tetradic
#9F2596 #9F6B25 #259F2E #25599F
square
#9F2596 #9F6B25 #259F2E #25599F
split-complementary
#9F2596 #599F25 #259F6B
monochromatic
#3C0E38 #6D1967 #9F2596 #CF32C4 #DB64D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2596#FFFFFF#000000##FFFFFF
##9F25961.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)
#195299
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A6355C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2596;
/* rgb */ color: rgb(159, 37, 150);
/* oklch */ color: oklch(50.4% 0.198 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6eb5',
    500: '#9f2596',
    950: '#000000',
  },
}
SCSS
$custom: #9f2596;
$custom-light: #bf6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2596",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 304.426,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.1981,
    "h": 331.4
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#9F2596
secondary
#5FC067
accent
#E54E42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2596

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

Preview Lab → · Contrast checker → · Palette generator →

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