#9E23BC#9E23BC

#9E23BC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.5% C 0.229 H 318.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9E23BC
RGBrgb(158, 35, 188)
HSLhsl(288, 69%, 44%)
HSVhsv(288, 81%, 74%)
CMYKcmyk(16%, 81.4%, 0%, 26.3%)
CIE-LABlab(41.38, 67.72, -53.97)
CIE-LCHlch(41.38, 86.60, 321.45°)
OKLaboklab(52.5% 0.1715 -0.1519)
OKLCHoklch(52.5% 0.229 318.5)
XYZxyz(23.7774, 12.1032, 48.6509)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E23BC #41BC23
analogous
#5123BC #9E23BC #BC238D
triadic
#9E23BC #BC9E23 #23BC9E
tetradic
#9E23BC #BC5123 #41BC23 #238DBC
square
#9E23BC #BC5123 #41BC23 #238DBC
split-complementary
#9E23BC #8DBC23 #23BC51
monochromatic
#471055 #731988 #9E23BC #BD41DC #CF74E5

Accessibility & contrast

On white

6.14
#9E23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9E23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E23BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E23BC#FFFFFF#000000##FFFFFF
##9E23BC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#9D4771
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e23bc;
/* rgb */ color: rgb(158, 35, 188);
/* oklch */ color: oklch(52.5% 0.229 318.5);
Tailwind
colors: {
  custom: {
    50: '#bf6fd1',
    500: '#9e23bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e23bc;
$custom-light: #bf6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e23bc",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 288.235,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.2291,
    "h": 318.5
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#9E23BC
secondary
#81CC6F
accent
#EB3C5F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9E23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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