#9E24B1#9E24B1

#9E24B1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.219 H 321.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9E24B1
RGBrgb(158, 36, 177)
HSLhsl(292, 66%, 42%)
HSVhsv(292, 80%, 69%)
CMYKcmyk(10.7%, 79.7%, 0%, 30.6%)
CIE-LABlab(40.75, 65.47, -48.50)
CIE-LCHlch(40.75, 81.48, 323.47°)
OKLaboklab(51.83% 0.1723 -0.1359)
OKLCHoklch(51.83% 0.219 321.7)
XYZxyz(22.6664, 11.7065, 42.6521)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E24B1 #37B124
analogous
#5824B1 #9E24B1 #B1247E
triadic
#9E24B1 #B19E24 #24B19E
tetradic
#9E24B1 #B15824 #37B124 #247EB1
square
#9E24B1 #B15824 #37B124 #247EB1
split-complementary
#9E24B1 #7EB124 #24B158
monochromatic
#430F4B #711A7E #9E24B1 #C23BD7 #D26EE1

Accessibility & contrast

On white

6.29
#9E24B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9E24B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E24B1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E24B1#FFFFFF#000000##FFFFFF
##9E24B11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e24b1;
/* rgb */ color: rgb(158, 36, 177);
/* oklch */ color: oklch(51.8% 0.219 321.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ec9',
    500: '#9e24b1',
    950: '#000000',
  },
}
SCSS
$custom: #9e24b1;
$custom-light: #bf6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e24b1",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 291.915,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.21945,
    "h": 321.7
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#9E24B1
secondary
#76C869
accent
#E93F56
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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