#8E5CD5#8E5CD5

#8E5CD5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.180 H 299.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E5CD5
RGBrgb(142, 92, 213)
HSLhsl(265, 59%, 60%)
HSVhsv(265, 57%, 84%)
CMYKcmyk(33.3%, 56.8%, 0%, 16.5%)
CIE-LABlab(49.75, 45.24, -55.07)
CIE-LCHlch(49.75, 71.27, 309.41°)
OKLaboklab(58.59% 0.0898 -0.1559)
OKLCHoklch(58.59% 0.18 299.9)
XYZxyz(26.9898, 18.2090, 65.0306)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CD5 #A3D55C
analogous
#5C67D5 #8E5CD5 #CA5CD5
triadic
#8E5CD5 #D58E5C #5CD58E
tetradic
#8E5CD5 #D55C67 #A3D55C #5CD5CA
square
#8E5CD5 #D55C67 #A3D55C #5CD5CA
split-complementary
#8E5CD5 #D5CA5C #67D55C
monochromatic
#522591 #6D32C2 #8E5CD5 #B08DE2 #D1BDEE

Accessibility & contrast

On white

4.52
#8E5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8E5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CD5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CD5#FFFFFF#000000##000000
##8E5CD51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2476D9
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#7F7590
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e5cd5;
/* rgb */ color: rgb(142, 92, 213);
/* oklch */ color: oklch(58.6% 0.180 299.9);
Tailwind
colors: {
  custom: {
    50: '#b38ce3',
    500: '#8e5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cd5;
$custom-light: #b38ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cd5",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 264.793,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.17994,
    "h": 299.9
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#8E5CD5
secondary
#CADEAF
accent
#E246A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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