#8E24AF#8E24AF

#8E24AF is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.212 H 316.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8E24AF
RGBrgb(142, 36, 175)
HSLhsl(286, 66%, 41%)
HSVhsv(286, 79%, 69%)
CMYKcmyk(18.9%, 79.4%, 0%, 31.4%)
CIE-LABlab(38.04, 62.10, -51.81)
CIE-LCHlch(38.04, 80.87, 320.16°)
OKLaboklab(49.37% 0.1534 -0.1461)
OKLCHoklch(49.37% 0.212 316.4)
XYZxyz(19.5229, 10.1085, 41.4719)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E24AF #45AF24
analogous
#4824AF #8E24AF #AF248B
triadic
#8E24AF #AF8E24 #24AF8E
tetradic
#8E24AF #AF4824 #45AF24 #248BAF
square
#8E24AF #AF4824 #45AF24 #248BAF
split-complementary
#8E24AF #8BAF24 #24AF48
monochromatic
#3C0F49 #651A7C #8E24AF #B13AD6 #C56DE1

Accessibility & contrast

On white

6.95
#8E24AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E24AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E24AF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E24AF#FFFFFF#000000##FFFFFF
##8E24AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#8C446A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e24af;
/* rgb */ color: rgb(142, 36, 175);
/* oklch */ color: oklch(49.4% 0.212 316.4);
Tailwind
colors: {
  custom: {
    50: '#b36cc8',
    500: '#8e24af',
    950: '#000000',
  },
}
SCSS
$custom: #8e24af;
$custom-light: #b36cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e24af",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 285.755,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.21185,
    "h": 316.4
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#8E24AF
secondary
#7EC768
accent
#E93F67
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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