#9E24A6#9E24A6

#9E24A6 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.211 H 325.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9E24A6
RGBrgb(158, 36, 166)
HSLhsl(296, 64%, 40%)
HSVhsv(296, 78%, 65%)
CMYKcmyk(4.8%, 78.3%, 0%, 34.9%)
CIE-LABlab(40.06, 63.56, -43.05)
CIE-LCHlch(40.06, 76.77, 325.89°)
OKLaboklab(51.12% 0.1733 -0.12)
OKLCHoklch(51.12% 0.211 325.3)
XYZxyz(21.6139, 11.2855, 37.1089)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E24A6 #2CA624
analogous
#5D24A6 #9E24A6 #A6246D
triadic
#9E24A6 #A69E24 #24A69E
tetradic
#9E24A6 #A65D24 #2CA624 #246DA6
square
#9E24A6 #A65D24 #2CA624 #246DA6
split-complementary
#9E24A6 #6DA624 #24A65D
monochromatic
#3E0E41 #6E1974 #9E24A6 #C934D3 #D766DE

Accessibility & contrast

On white

6.45
#9E24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E24A6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E24A6#FFFFFF#000000##FFFFFF
##9E24A61.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4263A3
Tritanopia (blue-blind)
#A23C65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e24a6;
/* rgb */ color: rgb(158, 36, 166);
/* oklch */ color: oklch(51.1% 0.211 325.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ec1',
    500: '#9e24a6',
    950: '#000000',
  },
}
SCSS
$custom: #9e24a6;
$custom-light: #bf6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e24a6",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 296.308,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.21078,
    "h": 325.3
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#9E24A6
secondary
#68C462
accent
#E7404B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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