#8E24B9#8E24B9

#8E24B9 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.220 H 313.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8E24B9
RGBrgb(142, 36, 185)
HSLhsl(283, 67%, 43%)
HSVhsv(283, 81%, 73%)
CMYKcmyk(23.2%, 80.5%, 0%, 27.5%)
CIE-LABlab(38.75, 64.05, -56.57)
CIE-LCHlch(38.75, 85.46, 318.55°)
OKLaboklab(50.1% 0.1515 -0.1601)
OKLCHoklch(50.1% 0.22 313.4)
XYZxyz(20.5416, 10.5160, 46.8373)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E24B9 #4FB924
analogous
#4424B9 #8E24B9 #B92499
triadic
#8E24B9 #B98E24 #24B98E
tetradic
#8E24B9 #B94424 #4FB924 #2499B9
square
#8E24B9 #B94424 #4FB924 #2499B9
split-complementary
#8E24B9 #99B924 #24B944
monochromatic
#3F1053 #671A86 #8E24B9 #AE40DA #C374E4

Accessibility & contrast

On white

6.77
#8E24B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8E24B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E24B9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E24B9#FFFFFF#000000##FFFFFF
##8E24B91.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0D5DB6
Tritanopia (blue-blind)
#894970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e24b9;
/* rgb */ color: rgb(142, 36, 185);
/* oklch */ color: oklch(50.1% 0.220 313.4);
Tailwind
colors: {
  custom: {
    50: '#b46dcf',
    500: '#8e24b9',
    950: '#000000',
  },
}
SCSS
$custom: #8e24b9;
$custom-light: #b46dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e24b9",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 185
  },
  "hsl": {
    "h": 282.685,
    "s": 67.421,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.22042,
    "h": 313.4
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#8E24B9
secondary
#89CB6E
accent
#EA3D6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8E24B9

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

Preview Lab → · Contrast checker → · Palette generator →

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