#9E239C#9E239C

#9E239C is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.204 H 328.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9E239C
RGBrgb(158, 35, 156)
HSLhsl(301, 64%, 38%)
HSVhsv(301, 78%, 62%)
CMYKcmyk(0%, 77.8%, 1.3%, 38%)
CIE-LABlab(39.37, 62.19, -38.14)
CIE-LCHlch(39.37, 72.95, 328.48°)
OKLaboklab(50.44% 0.1746 -0.1056)
OKLCHoklch(50.44% 0.204 328.8)
XYZxyz(20.7021, 10.8730, 32.4544)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E239C #239E25
analogous
#63239E #9E239C #9E235E
triadic
#9E239C #9C9E23 #239C9E
tetradic
#9E239C #9E6323 #239E25 #235E9E
square
#9E239C #9E6323 #239E25 #235E9E
split-complementary
#9E239C #5E9E23 #239E63
monochromatic
#3A0D39 #6C186B #9E239C #D02ECD #DC60DA

Accessibility & contrast

On white

6.62
#9E239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E239C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E239C#FFFFFF#000000##FFFFFF
##9E239C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529F
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#A3375F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e239c;
/* rgb */ color: rgb(158, 35, 156);
/* oklch */ color: oklch(50.4% 0.204 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6dba',
    500: '#9e239c',
    950: '#000000',
  },
}
SCSS
$custom: #9e239c;
$custom-light: #be6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e239c",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 300.976,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.20404,
    "h": 328.8
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#9E239C
secondary
#5CC15E
accent
#E74441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E239C

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

Preview Lab → · Contrast checker → · Palette generator →

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