#9E23B0#9E23B0

#9E23B0 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.220 H 322.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9E23B0
RGBrgb(158, 35, 176)
HSLhsl(292, 67%, 41%)
HSVhsv(292, 80%, 69%)
CMYKcmyk(10.2%, 80.1%, 0%, 31%)
CIE-LABlab(40.58, 65.57, -48.17)
CIE-LCHlch(40.58, 81.36, 323.70°)
OKLaboklab(51.69% 0.1732 -0.1349)
OKLCHoklch(51.69% 0.22 322.1)
XYZxyz(22.5372, 11.6071, 42.1192)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E23B0 #35B023
analogous
#5723B0 #9E23B0 #B0237C
triadic
#9E23B0 #B09E23 #23B09E
tetradic
#9E23B0 #B05723 #35B023 #237CB0
square
#9E23B0 #B05723 #35B023 #237CB0
split-complementary
#9E23B0 #7CB023 #23B057
monochromatic
#420F4A #70197D #9E23B0 #C339D8 #D36CE2

Accessibility & contrast

On white

6.32
#9E23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9E23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E23B0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E23B0#FFFFFF#000000##FFFFFF
##9E23B01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#A0416A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e23b0;
/* rgb */ color: rgb(158, 35, 176);
/* oklch */ color: oklch(51.7% 0.220 322.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ec8',
    500: '#9e23b0',
    950: '#000000',
  },
}
SCSS
$custom: #9e23b0;
$custom-light: #bf6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e23b0",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 292.34,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.21952,
    "h": 322.1
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#9E23B0
secondary
#73C867
accent
#EA3E54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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