#8E5CDA#8E5CDA

#8E5CDA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.186 H 298.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8E5CDA
RGBrgb(142, 92, 218)
HSLhsl(264, 63%, 61%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(34.9%, 57.8%, 0%, 14.5%)
CIE-LABlab(50.06, 46.51, -57.42)
CIE-LCHlch(50.06, 73.89, 309.01°)
OKLaboklab(58.92% 0.0898 -0.1628)
OKLCHoklch(58.92% 0.186 298.9)
XYZxyz(27.6343, 18.4667, 68.4246)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CDA #A8DA5C
analogous
#5C69DA #8E5CDA #CD5CDA
triadic
#8E5CDA #DA8E5C #5CDA8E
tetradic
#8E5CDA #DA5C69 #A8DA5C #5CDACD
square
#8E5CDA #DA5C69 #A8DA5C #5CDACD
split-complementary
#8E5CDA #DACD5C #69DA5C
monochromatic
#522399 #6C2ECB #8E5CDA #B18EE5 #D3C0F1

Accessibility & contrast

On white

4.47
#8E5CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8E5CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CDA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CDA#FFFFFF#000000##000000
##8E5CDA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A77DE
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#7D7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5cda;
/* rgb */ color: rgb(142, 92, 218);
/* oklch */ color: oklch(58.9% 0.186 298.9);
Tailwind
colors: {
  custom: {
    50: '#b38ce6',
    500: '#8e5cda',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cda;
$custom-light: #b38ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cda",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 263.81,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58916,
    "c": 0.18595,
    "h": 298.9
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#8E5CDA
secondary
#CEE1B1
accent
#CB1B85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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