#9E2599#9E2599

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

Color values

HEX#9E2599
RGBrgb(158, 37, 153)
HSLhsl(302, 62%, 38%)
HSVhsv(302, 77%, 62%)
CMYKcmyk(0%, 76.6%, 3.2%, 38%)
CIE-LABlab(39.40, 61.11, -36.27)
CIE-LCHlch(39.40, 71.07, 329.31°)
OKLaboklab(50.41% 0.1729 -0.1002)
OKLCHoklch(50.41% 0.2 329.9)
XYZxyz(20.5118, 10.8938, 31.1532)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2599 #259E2A
analogous
#66259E #9E2599 #9E255C
triadic
#9E2599 #999E25 #25999E
tetradic
#9E2599 #9E6625 #259E2A #255C9E
square
#9E2599 #9E6625 #259E2A #255C9E
split-complementary
#9E2599 #5C9E25 #259E66
monochromatic
#3B0E39 #6C1969 #9E2599 #CF31C8 #DA63D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2599#FFFFFF#000000##FFFFFF
##9E25991.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)
#13529C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A4365E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2599;
/* rgb */ color: rgb(158, 37, 153);
/* oklch */ color: oklch(50.4% 0.200 329.9);
Tailwind
colors: {
  custom: {
    50: '#be6eb7',
    500: '#9e2599',
    950: '#000000',
  },
}
SCSS
$custom: #9e2599;
$custom-light: #be6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2599",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 302.479,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.19984,
    "h": 329.9
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#9E2599
secondary
#5FC063
accent
#E54943
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2599

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

Preview Lab → · Contrast checker → · Palette generator →

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