#8E2CAE#8E2CAE

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

Color values

HEX#8E2CAE
RGBrgb(142, 44, 174)
HSLhsl(285, 60%, 43%)
HSVhsv(285, 75%, 68%)
CMYKcmyk(18.4%, 74.7%, 0%, 31.8%)
CIE-LABlab(38.91, 59.18, -49.80)
CIE-LCHlch(38.91, 77.34, 319.92°)
OKLaboklab(49.97% 0.1466 -0.1403)
OKLCHoklch(49.97% 0.203 316.3)
XYZxyz(19.6948, 10.6089, 41.0465)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CAE #4CAE2C
analogous
#4D2CAE #8E2CAE #AE2C8D
triadic
#8E2CAE #AE8E2C #2CAE8E
tetradic
#8E2CAE #AE4D2C #4CAE2C #2C8DAE
square
#8E2CAE #AE4D2C #4CAE2C #2C8DAE
split-complementary
#8E2CAE #8DAE2C #2CAE4D
monochromatic
#3E134C #66207D #8E2CAE #AF47D0 #C478DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2CAE#FFFFFF#000000##FFFFFF
##8E2CAE1.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)
#0056B2
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#8C486B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2cae;
/* rgb */ color: rgb(142, 44, 174);
/* oklch */ color: oklch(50.0% 0.203 316.3);
Tailwind
colors: {
  custom: {
    50: '#b36fc7',
    500: '#8e2cae',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cae;
$custom-light: #b36fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cae",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 285.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.20291,
    "h": 316.3
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#8E2CAE
secondary
#86C571
accent
#E3456C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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