#8E24BA#8E24BA

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

Color values

HEX#8E24BA
RGBrgb(142, 36, 186)
HSLhsl(282, 68%, 44%)
HSVhsv(282, 81%, 73%)
CMYKcmyk(23.7%, 80.6%, 0%, 27.1%)
CIE-LABlab(38.83, 64.25, -57.04)
CIE-LCHlch(38.83, 85.92, 318.40°)
OKLaboklab(50.17% 0.1513 -0.1615)
OKLCHoklch(50.17% 0.221 313.1)
XYZxyz(20.6475, 10.5584, 47.3952)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E24BA #50BA24
analogous
#4324BA #8E24BA #BA249B
triadic
#8E24BA #BA8E24 #24BA8E
tetradic
#8E24BA #BA4324 #50BA24 #249BBA
square
#8E24BA #BA4324 #50BA24 #249BBA
split-complementary
#8E24BA #9BBA24 #24BA43
monochromatic
#401053 #671A87 #8E24BA #AD41DA #C374E4

Accessibility & contrast

On white

6.75
#8E24BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8E24BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E24BA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E24BA#FFFFFF#000000##FFFFFF
##8E24BA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#095EB7
Tritanopia (blue-blind)
#894A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e24ba;
/* rgb */ color: rgb(142, 36, 186);
/* oklch */ color: oklch(50.2% 0.221 313.1);
Tailwind
colors: {
  custom: {
    50: '#b46dd0',
    500: '#8e24ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e24ba;
$custom-light: #b46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e24ba",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 282.4,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.22129,
    "h": 313.1
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#8E24BA
secondary
#8ACB6E
accent
#EA3D70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E24BA

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

Preview Lab → · Contrast checker → · Palette generator →

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