#9E1597#9E1597

#9E1597 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.211 H 330.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E1597
RGBrgb(158, 21, 151)
HSLhsl(303, 77%, 35%)
HSVhsv(303, 87%, 62%)
CMYKcmyk(0%, 86.7%, 4.4%, 38%)
CIE-LABlab(37.92, 64.77, -37.41)
CIE-LCHlch(37.92, 74.80, 329.99°)
OKLaboklab(49.32% 0.1844 -0.1034)
OKLCHoklch(49.32% 0.211 330.7)
XYZxyz(19.9546, 10.0415, 30.1594)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1597 #159E1C
analogous
#61159E #9E1597 #9E1552
triadic
#9E1597 #979E15 #15979E
tetradic
#9E1597 #9E6115 #159E1C #15529E
square
#9E1597 #9E6115 #159E1C #15529E
split-complementary
#9E1597 #529E15 #159E61
monochromatic
#320730 #680E63 #9E1597 #D41CCB #E747DE

Accessibility & contrast

On white

6.98
#9E1597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1597
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1597#FFFFFF#000000##FFFFFF
##9E15971.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#A42D59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1597;
/* rgb */ color: rgb(158, 21, 151);
/* oklch */ color: oklch(49.3% 0.211 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf69b6',
    500: '#9e1597',
    950: '#000000',
  },
}
SCSS
$custom: #9e1597;
$custom-light: #bf69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1597",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 151
  },
  "hsl": {
    "h": 303.066,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.21139,
    "h": 330.7
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#9E1597
secondary
#47C74E
accent
#F33E35
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1597

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

Preview Lab → · Contrast checker → · Palette generator →

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