#8E57EA#8E57EA

#8E57EA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.212 H 296.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8E57EA
RGBrgb(142, 87, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(39.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(50.11, 53.25, -66.38)
CIE-LCHlch(50.11, 85.10, 308.74°)
OKLaboklab(59.29% 0.0948 -0.1892)
OKLCHoklch(59.29% 0.212 296.6)
XYZxyz(29.4110, 18.5071, 79.8486)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57EA #B3EA57
analogous
#5769EA #8E57EA #D857EA
triadic
#8E57EA #EA8E57 #57EA8E
tetradic
#8E57EA #EA5769 #B3EA57 #57EAD8
square
#8E57EA #EA5769 #B3EA57 #57EAD8
split-complementary
#8E57EA #EAD857 #69EA57
monochromatic
#5016B1 #6921E3 #8E57EA #B38DF1 #D7C4F8

Accessibility & contrast

On white

4.47
#8E57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8E57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57EA#FFFFFF#000000##000000
##8E57EA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#777899
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e57ea;
/* rgb */ color: rgb(142, 87, 234);
/* oklch */ color: oklch(59.3% 0.212 296.6);
Tailwind
colors: {
  custom: {
    50: '#b589f2',
    500: '#8e57ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e57ea;
$custom-light: #b589f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57ea",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 262.449,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.2116,
    "h": 296.6
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#8E57EA
secondary
#D5E9B4
accent
#DA0B8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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