#9E238D#9E238D

#9E238D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.193 H 334.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E238D
RGBrgb(158, 35, 141)
HSLhsl(308, 64%, 38%)
HSVhsv(308, 78%, 62%)
CMYKcmyk(0%, 77.8%, 10.8%, 38%)
CIE-LABlab(38.54, 59.84, -30.31)
CIE-LCHlch(38.54, 67.08, 333.13°)
OKLaboklab(49.58% 0.1743 -0.083)
OKLCHoklch(49.58% 0.193 334.5)
XYZxyz(19.5095, 10.3960, 26.1733)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E238D #239E34
analogous
#72239E #9E238D #9E234F
triadic
#9E238D #8D9E23 #238D9E
tetradic
#9E238D #9E7223 #239E34 #234F9E
square
#9E238D #9E7223 #239E34 #234F9E
split-complementary
#9E238D #4F9E23 #239E72
monochromatic
#3A0D34 #6C1860 #9E238D #D02EBA #DC60CB

Accessibility & contrast

On white

6.82
#9E238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E238D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E238D#FFFFFF#000000##FFFFFF
##9E238D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#A62F57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e238d;
/* rgb */ color: rgb(158, 35, 141);
/* oklch */ color: oklch(49.6% 0.193 334.5);
Tailwind
colors: {
  custom: {
    50: '#be6cae',
    500: '#9e238d',
    950: '#000000',
  },
}
SCSS
$custom: #9e238d;
$custom-light: #be6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e238d",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 308.293,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.19303,
    "h": 334.5
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#9E238D
secondary
#5CC16A
accent
#E75841
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E238D

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

Preview Lab → · Contrast checker → · Palette generator →

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