#8E56CD#8E56CD

#8E56CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.179 H 302.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8E56CD
RGBrgb(142, 86, 205)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 58%, 80%)
CMYKcmyk(30.7%, 58%, 0%, 19.6%)
CIE-LABlab(48.02, 46.51, -53.26)
CIE-LCHlch(48.02, 70.71, 311.13°)
OKLaboklab(57.17% 0.0972 -0.1506)
OKLCHoklch(57.17% 0.179 302.8)
XYZxyz(25.5001, 16.8141, 59.6478)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56CD #95CD56
analogous
#565ACD #8E56CD #C956CD
triadic
#8E56CD #CD8E56 #56CD8E
tetradic
#8E56CD #CD565A #95CD56 #56CDC9
square
#8E56CD #CD565A #95CD56 #56CDC9
split-complementary
#8E56CD #CDC956 #5ACD56
monochromatic
#522682 #6F34B1 #8E56CD #AE85DB #CDB4E9

Accessibility & contrast

On white

4.81
#8E56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8E56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E56CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56CD#FFFFFF#000000##FFFFFF
##8E56CD1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#826E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e56cd;
/* rgb */ color: rgb(142, 86, 205);
/* oklch */ color: oklch(57.2% 0.179 302.8);
Tailwind
colors: {
  custom: {
    50: '#b388dd',
    500: '#8e56cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e56cd;
$custom-light: #b388dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56cd",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 268.235,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.17925,
    "h": 302.8
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#8E56CD
secondary
#C1D8A7
accent
#DE4A98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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