#9E24A8#9E24A8

#9E24A8 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.212 H 324.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E24A8
RGBrgb(158, 36, 168)
HSLhsl(295, 65%, 40%)
HSVhsv(295, 79%, 66%)
CMYKcmyk(6%, 78.6%, 0%, 34.1%)
CIE-LABlab(40.18, 63.90, -44.05)
CIE-LCHlch(40.18, 77.62, 325.42°)
OKLaboklab(51.25% 0.1732 -0.1229)
OKLCHoklch(51.25% 0.212 324.6)
XYZxyz(21.7987, 11.3594, 38.0826)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E24A8 #2EA824
analogous
#5C24A8 #9E24A8 #A82470
triadic
#9E24A8 #A89E24 #24A89E
tetradic
#9E24A8 #A85C24 #2EA824 #2470A8
square
#9E24A8 #A85C24 #2EA824 #2470A8
split-complementary
#9E24A8 #70A824 #24A85C
monochromatic
#3F0E43 #6F1976 #9E24A8 #C835D4 #D668DF

Accessibility & contrast

On white

6.42
#9E24A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9E24A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E24A8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E24A8#FFFFFF#000000##FFFFFF
##9E24A81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#4064A5
Tritanopia (blue-blind)
#A13D66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e24a8;
/* rgb */ color: rgb(158, 36, 168);
/* oklch */ color: oklch(51.2% 0.212 324.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ec2',
    500: '#9e24a8',
    950: '#000000',
  },
}
SCSS
$custom: #9e24a8;
$custom-light: #bf6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e24a8",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 295.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.21234,
    "h": 324.6
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#9E24A8
secondary
#6BC463
accent
#E8404D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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