#9E23A0#9E23A0

#9E23A0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.207 H 327.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9E23A0
RGBrgb(158, 35, 160)
HSLhsl(299, 64%, 38%)
HSVhsv(299, 78%, 63%)
CMYKcmyk(1.2%, 78.1%, 0%, 37.3%)
CIE-LABlab(39.60, 62.84, -40.18)
CIE-LCHlch(39.60, 74.59, 327.41°)
OKLaboklab(50.68% 0.1744 -0.1116)
OKLCHoklch(50.68% 0.207 327.4)
XYZxyz(21.0464, 11.0108, 34.2677)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E23A0 #25A023
analogous
#5F23A0 #9E23A0 #A02363
triadic
#9E23A0 #A09E23 #23A09E
tetradic
#9E23A0 #A05F23 #25A023 #2363A0
square
#9E23A0 #A05F23 #25A023 #2363A0
split-complementary
#9E23A0 #63A023 #23A05F
monochromatic
#3B0D3C #6C186E #9E23A0 #CF2FD1 #DA61DC

Accessibility & contrast

On white

6.56
#9E23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9E23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E23A0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E23A0#FFFFFF#000000##FFFFFF
##9E23A01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#45639D
Tritanopia (blue-blind)
#A33961
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e23a0;
/* rgb */ color: rgb(158, 35, 160);
/* oklch */ color: oklch(50.7% 0.207 327.4);
Tailwind
colors: {
  custom: {
    50: '#bf6dbd',
    500: '#9e23a0',
    950: '#000000',
  },
}
SCSS
$custom: #9e23a0;
$custom-light: #bf6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e23a0",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 299.04,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.20707,
    "h": 327.4
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#9E23A0
secondary
#5FC15D
accent
#E74143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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