#8E54EA#8E54EA

#8E54EA is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.215 H 297.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E54EA
RGBrgb(142, 84, 234)
HSLhsl(263, 78%, 62%)
HSVhsv(263, 64%, 92%)
CMYKcmyk(39.3%, 64.1%, 0%, 8.2%)
CIE-LABlab(49.53, 54.80, -67.31)
CIE-LCHlch(49.53, 86.79, 309.15°)
OKLaboklab(58.87% 0.098 -0.1919)
OKLCHoklch(58.87% 0.215 297.1)
XYZxyz(29.1731, 18.0314, 79.7693)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E54EA #B0EA54
analogous
#5465EA #8E54EA #D954EA
triadic
#8E54EA #EA8E54 #54EA8E
tetradic
#8E54EA #EA5465 #B0EA54 #54EAD9
square
#8E54EA #EA5465 #B0EA54 #54EAD9
split-complementary
#8E54EA #EAD954 #65EA54
monochromatic
#5015AE #6A1DE3 #8E54EA #B28BF1 #D6C1F7

Accessibility & contrast

On white

4.56
#8E54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E54EA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E54EA#FFFFFF#000000##000000
##8E54EA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#777698
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e54ea;
/* rgb */ color: rgb(142, 84, 234);
/* oklch */ color: oklch(58.9% 0.215 297.1);
Tailwind
colors: {
  custom: {
    50: '#b587f2',
    500: '#8e54ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e54ea;
$custom-light: #b587f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e54ea",
  "rgb": {
    "r": 142,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 263.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.21547,
    "h": 297.1
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#8E54EA
secondary
#D3E8B2
accent
#DA0B8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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