#8E56EF#8E56EF

#8E56EF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.219 H 295.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E56EF
RGBrgb(142, 86, 239)
HSLhsl(262, 83%, 64%)
HSVhsv(262, 64%, 94%)
CMYKcmyk(40.6%, 64%, 0%, 6.3%)
CIE-LABlab(50.26, 55.05, -68.94)
CIE-LCHlch(50.26, 88.22, 308.61°)
OKLaboklab(59.51% 0.0954 -0.1967)
OKLCHoklch(59.51% 0.219 295.9)
XYZxyz(30.0590, 18.6377, 83.6584)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56EF #B7EF56
analogous
#566AEF #8E56EF #DB56EF
triadic
#8E56EF #EF8E56 #56EF8E
tetradic
#8E56EF #EF566A #B7EF56 #56EFDB
square
#8E56EF #EF566A #B7EF56 #56EFDB
split-complementary
#8E56EF #EFDB56 #6AEF56
monochromatic
#4F12B9 #691EEA #8E56EF #B38EF4 #D9C6FA

Accessibility & contrast

On white

4.44
#8E56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8E56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E56EF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56EF#FFFFFF#000000##000000
##8E56EF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#75799B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e56ef;
/* rgb */ color: rgb(142, 86, 239);
/* oklch */ color: oklch(59.5% 0.219 295.9);
Tailwind
colors: {
  custom: {
    50: '#b689f5',
    500: '#8e56ef',
    950: '#000000',
  },
}
SCSS
$custom: #8e56ef;
$custom-light: #b689f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56ef",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 261.961,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.2186,
    "h": 295.9
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#8E56EF
secondary
#D8EBB5
accent
#DF0690
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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