#8E56EE#8E56EE

#8E56EE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.217 H 296.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8E56EE
RGBrgb(142, 86, 238)
HSLhsl(262, 82%, 64%)
HSVhsv(262, 64%, 93%)
CMYKcmyk(40.3%, 63.9%, 0%, 6.7%)
CIE-LABlab(50.19, 54.79, -68.49)
CIE-LCHlch(50.19, 87.71, 308.66°)
OKLaboklab(59.43% 0.0955 -0.1954)
OKLCHoklch(59.43% 0.217 296)
XYZxyz(29.9117, 18.5788, 82.8825)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56EE #B6EE56
analogous
#566AEE #8E56EE #DA56EE
triadic
#8E56EE #EE8E56 #56EE8E
tetradic
#8E56EE #EE566A #B6EE56 #56EEDA
square
#8E56EE #EE566A #B6EE56 #56EEDA
split-complementary
#8E56EE #EEDA56 #6AEE56
monochromatic
#4F12B7 #691EE8 #8E56EE #B38EF4 #D8C5F9

Accessibility & contrast

On white

4.45
#8E56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8E56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E56EE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56EE#FFFFFF#000000##000000
##8E56EE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#76799A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e56ee;
/* rgb */ color: rgb(142, 86, 238);
/* oklch */ color: oklch(59.4% 0.217 296.0);
Tailwind
colors: {
  custom: {
    50: '#b589f4',
    500: '#8e56ee',
    950: '#000000',
  },
}
SCSS
$custom: #8e56ee;
$custom-light: #b589f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56ee",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 262.105,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.21747,
    "h": 296
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#8E56EE
secondary
#D7EBB5
accent
#DE078F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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