#8E5EE4#8E5EE4

#8E5EE4 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.195 H 296.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E5EE4
RGBrgb(142, 94, 228)
HSLhsl(261, 71%, 63%)
HSVhsv(261, 59%, 89%)
CMYKcmyk(37.7%, 58.8%, 0%, 10.6%)
CIE-LABlab(51.10, 47.98, -61.39)
CIE-LCHlch(51.10, 77.92, 308.01°)
OKLaboklab(59.88% 0.0873 -0.1745)
OKLCHoklch(59.88% 0.195 296.6)
XYZxyz(29.1580, 19.3571, 75.5838)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EE4 #B4E45E
analogous
#5E71E4 #8E5EE4 #D15EE4
triadic
#8E5EE4 #E48E5E #5EE48E
tetradic
#8E5EE4 #E45E71 #B4E45E #5EE4D1
square
#8E5EE4 #E45E71 #B4E45E #5EE4D1
split-complementary
#8E5EE4 #E4D15E #71E45E
monochromatic
#501DAB #692ADB #8E5EE4 #B392ED #D8C7F6

Accessibility & contrast

On white

4.31
#8E5EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8E5EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EE4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EE4#FFFFFF#000000##000000
##8E5EE41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2578E1
Tritanopia (blue-blind)
#797B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5ee4;
/* rgb */ color: rgb(142, 94, 228);
/* oklch */ color: oklch(59.9% 0.195 296.6);
Tailwind
colors: {
  custom: {
    50: '#b48ded',
    500: '#8e5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ee4;
$custom-light: #b48ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ee4",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 261.493,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59884,
    "c": 0.19512,
    "h": 296.6
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#8E5EE4
secondary
#D6E7B7
accent
#D3128E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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