#9E23B1#9E23B1

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

Color values

HEX#9E23B1
RGBrgb(158, 35, 177)
HSLhsl(292, 67%, 42%)
HSVhsv(292, 80%, 69%)
CMYKcmyk(10.7%, 80.2%, 0%, 30.6%)
CIE-LABlab(40.65, 65.75, -48.66)
CIE-LCHlch(40.65, 81.80, 323.50°)
OKLaboklab(51.76% 0.1731 -0.1363)
OKLCHoklch(51.76% 0.22 321.8)
XYZxyz(22.6365, 11.6468, 42.6422)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E23B1 #36B123
analogous
#5723B1 #9E23B1 #B1237D
triadic
#9E23B1 #B19E23 #23B19E
tetradic
#9E23B1 #B15723 #36B123 #237DB1
square
#9E23B1 #B15723 #36B123 #237DB1
split-complementary
#9E23B1 #7DB123 #23B157
monochromatic
#430F4B #70197E #9E23B1 #C339D8 #D26CE2

Accessibility & contrast

On white

6.31
#9E23B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9E23B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E23B1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E23B1#FFFFFF#000000##FFFFFF
##9E23B11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#A0426B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e23b1;
/* rgb */ color: rgb(158, 35, 177);
/* oklch */ color: oklch(51.8% 0.220 321.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ec9',
    500: '#9e23b1',
    950: '#000000',
  },
}
SCSS
$custom: #9e23b1;
$custom-light: #bf6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e23b1",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 291.972,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.22031,
    "h": 321.8
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#9E23B1
secondary
#74C868
accent
#EA3E55
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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