#9E2398#9E2398

#9E2398 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.201 H 330.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E2398
RGBrgb(158, 35, 152)
HSLhsl(303, 64%, 38%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 77.8%, 3.8%, 38%)
CIE-LABlab(39.14, 61.55, -36.08)
CIE-LCHlch(39.14, 71.34, 329.62°)
OKLaboklab(50.2% 0.1746 -0.0997)
OKLCHoklch(50.2% 0.201 330.3)
XYZxyz(20.3690, 10.7398, 30.6999)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2398 #239E29
analogous
#67239E #9E2398 #9E235A
triadic
#9E2398 #989E23 #23989E
tetradic
#9E2398 #9E6723 #239E29 #235A9E
square
#9E2398 #9E6723 #239E29 #235A9E
split-complementary
#9E2398 #5A9E23 #239E67
monochromatic
#3A0D38 #6C1868 #9E2398 #D02EC8 #DC60D6

Accessibility & contrast

On white

6.67
#9E2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E2398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2398
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2398#FFFFFF#000000##FFFFFF
##9E23981.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#A4355D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2398;
/* rgb */ color: rgb(158, 35, 152);
/* oklch */ color: oklch(50.2% 0.201 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9e2398',
    950: '#000000',
  },
}
SCSS
$custom: #9e2398;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2398",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 302.927,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.20104,
    "h": 330.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#9E2398
secondary
#5CC161
accent
#E74941
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2398

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

Preview Lab → · Contrast checker → · Palette generator →

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