#9E239E#9E239E

#9E239E is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.206 H 328.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E239E
RGBrgb(158, 35, 158)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 62%)
CMYKcmyk(0%, 77.8%, 0%, 38%)
CIE-LABlab(39.48, 62.52, -39.16)
CIE-LCHlch(39.48, 73.77, 327.93°)
OKLaboklab(50.56% 0.1745 -0.1086)
OKLCHoklch(50.56% 0.206 328.1)
XYZxyz(20.8729, 10.9413, 33.3537)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E239E #239E23
analogous
#60239E #9E239E #9E2360
triadic
#9E239E #9E9E23 #239E9E
tetradic
#9E239E #9E6023 #239E23 #23609E
square
#9E239E #9E6023 #239E23 #23609E
split-complementary
#9E239E #609E23 #239E60
monochromatic
#3A0D3A #6C186C #9E239E #D02ED0 #DC60DC

Accessibility & contrast

On white

6.59
#9E239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9E239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E239E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E239E#FFFFFF#000000##FFFFFF
##9E239E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#A33860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e239e;
/* rgb */ color: rgb(158, 35, 158);
/* oklch */ color: oklch(50.6% 0.206 328.1);
Tailwind
colors: {
  custom: {
    50: '#be6dbb',
    500: '#9e239e',
    950: '#000000',
  },
}
SCSS
$custom: #9e239e;
$custom-light: #be6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e239e",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.20555,
    "h": 328.1
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#9E239E
secondary
#5CC15C
accent
#E74141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E239E

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

Preview Lab → · Contrast checker → · Palette generator →

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