#8E5CD2#8E5CD2

#8E5CD2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.176 H 300.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E5CD2
RGBrgb(142, 92, 210)
HSLhsl(265, 57%, 59%)
HSVhsv(265, 56%, 82%)
CMYKcmyk(32.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(49.57, 44.49, -53.65)
CIE-LCHlch(49.57, 69.70, 309.67°)
OKLaboklab(58.4% 0.0898 -0.1518)
OKLCHoklch(58.4% 0.176 300.6)
XYZxyz(26.6126, 18.0581, 63.0438)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CD2 #A0D25C
analogous
#5C65D2 #8E5CD2 #C95CD2
triadic
#8E5CD2 #D28E5C #5CD28E
tetradic
#8E5CD2 #D25C65 #A0D25C #5CD2C9
square
#8E5CD2 #D25C65 #A0D25C #5CD2C9
split-complementary
#8E5CD2 #D2C95C #65D25C
monochromatic
#52278D #6E34BD #8E5CD2 #AF8CDF #D0BCEC

Accessibility & contrast

On white

4.55
#8E5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CD2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CD2#FFFFFF#000000##000000
##8E5CD21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2975D6
Deuteranopia (green-blind)
#3C75CF
Tritanopia (blue-blind)
#80748E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e5cd2;
/* rgb */ color: rgb(142, 92, 210);
/* oklch */ color: oklch(58.4% 0.176 300.6);
Tailwind
colors: {
  custom: {
    50: '#b38ce0',
    500: '#8e5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cd2;
$custom-light: #b38ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cd2",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 265.424,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.17632,
    "h": 300.6
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#8E5CD2
secondary
#C8DCAE
accent
#E048A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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