#8E24B5#8E24B5

#8E24B5 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.217 H 314.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8E24B5
RGBrgb(142, 36, 181)
HSLhsl(284, 67%, 43%)
HSVhsv(284, 80%, 71%)
CMYKcmyk(21.5%, 80.1%, 0%, 29%)
CIE-LABlab(38.46, 63.26, -54.68)
CIE-LCHlch(38.46, 83.62, 319.16°)
OKLaboklab(49.8% 0.1523 -0.1545)
OKLCHoklch(49.8% 0.217 314.6)
XYZxyz(20.1253, 10.3495, 44.6446)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E24B5 #4BB524
analogous
#4524B5 #8E24B5 #B52493
triadic
#8E24B5 #B58E24 #24B58E
tetradic
#8E24B5 #B54524 #4BB524 #2493B5
square
#8E24B5 #B54524 #4BB524 #2493B5
split-complementary
#8E24B5 #93B524 #24B545
monochromatic
#3E104F #661A82 #8E24B5 #AF3ED9 #C471E3

Accessibility & contrast

On white

6.84
#8E24B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E24B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E24B5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E24B5#FFFFFF#000000##FFFFFF
##8E24B51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#8A476D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e24b5;
/* rgb */ color: rgb(142, 36, 181);
/* oklch */ color: oklch(49.8% 0.217 314.6);
Tailwind
colors: {
  custom: {
    50: '#b46ccc',
    500: '#8e24b5',
    950: '#000000',
  },
}
SCSS
$custom: #8e24b5;
$custom-light: #b46ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e24b5",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 283.862,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.21699,
    "h": 314.6
  },
  "luminance": 0.10349
}

Semantic roles & 50–950 ramp

primary
#8E24B5
secondary
#85C96B
accent
#EA3E6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8E24B5

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

Preview Lab → · Contrast checker → · Palette generator →

#8E24B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva