#8E56E4#8E56E4

#8E56E4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.206 H 297.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8E56E4
RGBrgb(142, 86, 228)
HSLhsl(264, 72%, 62%)
HSVhsv(264, 62%, 89%)
CMYKcmyk(37.7%, 62.3%, 0%, 10.6%)
CIE-LABlab(49.51, 52.25, -63.97)
CIE-LCHlch(49.51, 82.60, 309.24°)
OKLaboklab(58.72% 0.0963 -0.1821)
OKLCHoklch(58.72% 0.206 297.9)
XYZxyz(28.4832, 18.0074, 75.3589)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56E4 #ACE456
analogous
#5665E4 #8E56E4 #D556E4
triadic
#8E56E4 #E48E56 #56E48E
tetradic
#8E56E4 #E45665 #ACE456 #56E4D5
square
#8E56E4 #E45665 #ACE456 #56E4D5
split-complementary
#8E56E4 #E4D556 #65E456
monochromatic
#511AA5 #6B23DA #8E56E4 #B18BEC #D5C0F5

Accessibility & contrast

On white

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

On black

4.60
#8E56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E56E4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56E4#FFFFFF#000000##000000
##8E56E41.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0974E1
Tritanopia (blue-blind)
#7A7695
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e56e4;
/* rgb */ color: rgb(142, 86, 228);
/* oklch */ color: oklch(58.7% 0.206 297.9);
Tailwind
colors: {
  custom: {
    50: '#b588ed',
    500: '#8e56e4',
    950: '#000000',
  },
}
SCSS
$custom: #8e56e4;
$custom-light: #b588ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56e4",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 263.662,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.20601,
    "h": 297.9
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#8E56E4
secondary
#D0E5B0
accent
#D51187
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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