#8E23AE#8E23AE

#8E23AE is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.212 H 316.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8E23AE
RGBrgb(142, 35, 174)
HSLhsl(286, 67%, 41%)
HSVhsv(286, 80%, 68%)
CMYKcmyk(18.4%, 79.9%, 0%, 31.8%)
CIE-LABlab(37.86, 62.21, -51.50)
CIE-LCHlch(37.86, 80.76, 320.38°)
OKLaboklab(49.22% 0.1544 -0.1452)
OKLCHoklch(49.22% 0.212 316.8)
XYZxyz(19.3952, 10.0097, 40.9466)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E23AE #43AE23
analogous
#4823AE #8E23AE #AE2388
triadic
#8E23AE #AE8E23 #23AE8E
tetradic
#8E23AE #AE4823 #43AE23 #2388AE
square
#8E23AE #AE4823 #43AE23 #2388AE
split-complementary
#8E23AE #88AE23 #23AE48
monochromatic
#3B0F48 #64197B #8E23AE #B237D7 #C66AE1

Accessibility & contrast

On white

7.00
#8E23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8E23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E23AE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E23AE#FFFFFF#000000##FFFFFF
##8E23AE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#8C4369
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e23ae;
/* rgb */ color: rgb(142, 35, 174);
/* oklch */ color: oklch(49.2% 0.212 316.8);
Tailwind
colors: {
  custom: {
    50: '#b36cc7',
    500: '#8e23ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e23ae;
$custom-light: #b36cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e23ae",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 286.187,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.21192,
    "h": 316.8
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#8E23AE
secondary
#7CC766
accent
#E93E66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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