#8E55CD#8E55CD

#8E55CD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.181 H 303.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E55CD
RGBrgb(142, 85, 205)
HSLhsl(269, 55%, 57%)
HSVhsv(269, 59%, 80%)
CMYKcmyk(30.7%, 58.5%, 0%, 19.6%)
CIE-LABlab(47.82, 47.05, -53.58)
CIE-LCHlch(47.82, 71.31, 311.28°)
OKLaboklab(57.02% 0.0984 -0.1516)
OKLCHoklch(57.02% 0.181 303)
XYZxyz(25.4208, 16.6556, 59.6214)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E55CD #94CD55
analogous
#5558CD #8E55CD #CA55CD
triadic
#8E55CD #CD8E55 #55CD8E
tetradic
#8E55CD #CD5558 #94CD55 #55CDCA
square
#8E55CD #CD5558 #94CD55 #55CDCA
split-complementary
#8E55CD #CDCA55 #58CD55
monochromatic
#522682 #6F34B1 #8E55CD #AD84DB #CDB4E9

Accessibility & contrast

On white

4.85
#8E55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8E55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E55CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E55CD#FFFFFF#000000##FFFFFF
##8E55CD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#826D89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e55cd;
/* rgb */ color: rgb(142, 85, 205);
/* oklch */ color: oklch(57.0% 0.181 303.0);
Tailwind
colors: {
  custom: {
    50: '#b387dd',
    500: '#8e55cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e55cd;
$custom-light: #b387dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e55cd",
  "rgb": {
    "r": 142,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 268.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.18072,
    "h": 303
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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