#9E239B#9E239B

#9E239B is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.203 H 329.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E239B
RGBrgb(158, 35, 155)
HSLhsl(301, 64%, 38%)
HSVhsv(301, 78%, 62%)
CMYKcmyk(0%, 77.8%, 1.9%, 38%)
CIE-LABlab(39.31, 62.03, -37.63)
CIE-LCHlch(39.31, 72.55, 328.76°)
OKLaboklab(50.38% 0.1746 -0.1041)
OKLCHoklch(50.38% 0.203 329.2)
XYZxyz(20.6178, 10.8393, 32.0103)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E239B #239E26
analogous
#63239E #9E239B #9E235E
triadic
#9E239B #9B9E23 #239B9E
tetradic
#9E239B #9E6323 #239E26 #235E9E
square
#9E239B #9E6323 #239E26 #235E9E
split-complementary
#9E239B #5E9E23 #239E63
monochromatic
#3A0D39 #6C186A #9E239B #D02ECC #DC60D9

Accessibility & contrast

On white

6.63
#9E239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E239B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E239B#FFFFFF#000000##FFFFFF
##9E239B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#A4365E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e239b;
/* rgb */ color: rgb(158, 35, 155);
/* oklch */ color: oklch(50.4% 0.203 329.2);
Tailwind
colors: {
  custom: {
    50: '#be6db9',
    500: '#9e239b',
    950: '#000000',
  },
}
SCSS
$custom: #9e239b;
$custom-light: #be6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e239b",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 301.463,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.20328,
    "h": 329.2
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#9E239B
secondary
#5CC15F
accent
#E74541
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E239B

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

Preview Lab → · Contrast checker → · Palette generator →

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