#8E56DF#8E56DF

#8E56DF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.200 H 298.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E56DF
RGBrgb(142, 86, 223)
HSLhsl(265, 68%, 61%)
HSVhsv(265, 61%, 87%)
CMYKcmyk(36.3%, 61.4%, 0%, 12.5%)
CIE-LABlab(49.17, 50.98, -61.68)
CIE-LCHlch(49.17, 80.02, 309.58°)
OKLaboklab(58.37% 0.0967 -0.1753)
OKLCHoklch(58.37% 0.2 298.9)
XYZxyz(27.7991, 17.7338, 71.7561)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56DF #A7DF56
analogous
#5662DF #8E56DF #D356DF
triadic
#8E56DF #DF8E56 #56DF8E
tetradic
#8E56DF #DF5662 #A7DF56 #56DFD3
square
#8E56DF #DF5662 #A7DF56 #56DFD3
split-complementary
#8E56DF #DFD356 #62DF56
monochromatic
#521E9D #6C27D0 #8E56DF #B089E9 #D3BDF2

Accessibility & contrast

On white

4.62
#8E56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8E56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E56DF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56DF#FFFFFF#000000##FFFFFF
##8E56DF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1B74DC
Tritanopia (blue-blind)
#7C7493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e56df;
/* rgb */ color: rgb(142, 86, 223);
/* oklch */ color: oklch(58.4% 0.200 298.9);
Tailwind
colors: {
  custom: {
    50: '#b488ea',
    500: '#8e56df',
    950: '#000000',
  },
}
SCSS
$custom: #8e56df;
$custom-light: #b488ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56df",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 264.526,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.20023,
    "h": 298.9
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

primary
#8E56DF
secondary
#CDE2AE
accent
#D01584
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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