#9E2397#9E2397

#9E2397 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.200 H 330.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9E2397
RGBrgb(158, 35, 151)
HSLhsl(303, 64%, 38%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 77.8%, 4.4%, 38%)
CIE-LABlab(39.08, 61.39, -35.56)
CIE-LCHlch(39.08, 70.94, 329.92°)
OKLaboklab(50.14% 0.1746 -0.0982)
OKLCHoklch(50.14% 0.2 330.7)
XYZxyz(20.2875, 10.7072, 30.2703)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2397 #239E2A
analogous
#68239E #9E2397 #9E2359
triadic
#9E2397 #979E23 #23979E
tetradic
#9E2397 #9E6823 #239E2A #23599E
square
#9E2397 #9E6823 #239E2A #23599E
split-complementary
#9E2397 #599E23 #239E68
monochromatic
#3A0D37 #6C1867 #9E2397 #D02EC7 #DC60D5

Accessibility & contrast

On white

6.69
#9E2397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9E2397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2397
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2397#FFFFFF#000000##FFFFFF
##9E23971.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#A4345C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2397;
/* rgb */ color: rgb(158, 35, 151);
/* oklch */ color: oklch(50.1% 0.200 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6db6',
    500: '#9e2397',
    950: '#000000',
  },
}
SCSS
$custom: #9e2397;
$custom-light: #be6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2397",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 303.415,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.20029,
    "h": 330.7
  },
  "luminance": 0.10706
}

Semantic roles & 50–950 ramp

primary
#9E2397
secondary
#5CC162
accent
#E74A41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2397

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

Preview Lab → · Contrast checker → · Palette generator →

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