#8E24BB#8E24BB

#8E24BB is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.222 H 312.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8E24BB
RGBrgb(142, 36, 187)
HSLhsl(282, 68%, 44%)
HSVhsv(282, 81%, 73%)
CMYKcmyk(24.1%, 80.7%, 0%, 26.7%)
CIE-LABlab(38.90, 64.45, -57.51)
CIE-LCHlch(38.90, 86.38, 318.25°)
OKLaboklab(50.25% 0.1511 -0.1628)
OKLCHoklch(50.25% 0.222 312.9)
XYZxyz(20.7542, 10.6010, 47.9570)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E24BB #51BB24
analogous
#4224BB #8E24BB #BB249C
triadic
#8E24BB #BB8E24 #24BB8E
tetradic
#8E24BB #BB4224 #51BB24 #249CBB
square
#8E24BB #BB4224 #51BB24 #249CBB
split-complementary
#8E24BB #9CBB24 #24BB42
monochromatic
#401054 #671A88 #8E24BB #AD42DB #C375E4

Accessibility & contrast

On white

6.73
#8E24BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8E24BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E24BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E24BB#FFFFFF#000000##FFFFFF
##8E24BB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#894A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e24bb;
/* rgb */ color: rgb(142, 36, 187);
/* oklch */ color: oklch(50.2% 0.222 312.9);
Tailwind
colors: {
  custom: {
    50: '#b46dd0',
    500: '#8e24bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e24bb;
$custom-light: #b46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e24bb",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 282.119,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.22214,
    "h": 312.9
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#8E24BB
secondary
#8BCC6F
accent
#EB3D71
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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