#9E239A#9E239A

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

Color values

HEX#9E239A
RGBrgb(158, 35, 154)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 77.8%, 2.5%, 38%)
CIE-LABlab(39.25, 61.87, -37.11)
CIE-LCHlch(39.25, 72.14, 329.04°)
OKLaboklab(50.32% 0.1746 -0.1027)
OKLCHoklch(50.32% 0.203 329.5)
XYZxyz(20.5342, 10.8059, 31.5698)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E239A #239E27
analogous
#64239E #9E239A #9E235D
triadic
#9E239A #9A9E23 #239A9E
tetradic
#9E239A #9E6423 #239E27 #235D9E
square
#9E239A #9E6423 #239E27 #235D9E
split-complementary
#9E239A #5D9E23 #239E64
monochromatic
#3A0D38 #6C1869 #9E239A #D02ECB #DC60D8

Accessibility & contrast

On white

6.64
#9E239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E239A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E239A#FFFFFF#000000##FFFFFF
##9E239A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C529D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A4365E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e239a;
/* rgb */ color: rgb(158, 35, 154);
/* oklch */ color: oklch(50.3% 0.203 329.5);
Tailwind
colors: {
  custom: {
    50: '#be6db8',
    500: '#9e239a',
    950: '#000000',
  },
}
SCSS
$custom: #9e239a;
$custom-light: #be6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e239a",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 301.951,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.20254,
    "h": 329.5
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E239A

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

Preview Lab → · Contrast checker → · Palette generator →

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