#8E56DC#8E56DC

#8E56DC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.197 H 299.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8E56DC
RGBrgb(142, 86, 220)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 61%, 86%)
CMYKcmyk(35.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(48.97, 50.23, -60.30)
CIE-LCHlch(48.97, 78.48, 309.80°)
OKLaboklab(58.17% 0.0968 -0.1713)
OKLCHoklch(58.17% 0.197 299.5)
XYZxyz(27.3982, 17.5734, 69.6448)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56DC #A4DC56
analogous
#5661DC #8E56DC #D156DC
triadic
#8E56DC #DC8E56 #56DC8E
tetradic
#8E56DC #DC5661 #A4DC56 #56DCD1
square
#8E56DC #DC5661 #A4DC56 #56DCD1
split-complementary
#8E56DC #DCD156 #61DC56
monochromatic
#522098 #6D2ACB #8E56DC #B089E6 #D2BBF1

Accessibility & contrast

On white

4.65
#8E56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8E56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E56DC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56DC#FFFFFF#000000##FFFFFF
##8E56DC1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#7D7391
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e56dc;
/* rgb */ color: rgb(142, 86, 220);
/* oklch */ color: oklch(58.2% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#b488e8',
    500: '#8e56dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e56dc;
$custom-light: #b488e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56dc",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 265.075,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.19675,
    "h": 299.5
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#8E56DC
secondary
#CBE1AD
accent
#E93FA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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