#8E5CD6#8E5CD6

#8E5CD6 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.181 H 299.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8E5CD6
RGBrgb(142, 92, 214)
HSLhsl(265, 60%, 60%)
HSVhsv(265, 57%, 84%)
CMYKcmyk(33.6%, 57%, 0%, 16.1%)
CIE-LABlab(49.81, 45.50, -55.54)
CIE-LCHlch(49.81, 71.80, 309.32°)
OKLaboklab(58.66% 0.0898 -0.1573)
OKLCHoklch(58.66% 0.181 299.7)
XYZxyz(27.1171, 18.2599, 65.7012)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CD6 #A4D65C
analogous
#5C67D6 #8E5CD6 #CB5CD6
triadic
#8E5CD6 #D68E5C #5CD68E
tetradic
#8E5CD6 #D65C67 #A4D65C #5CD6CB
square
#8E5CD6 #D65C67 #A4D65C #5CD6CB
split-complementary
#8E5CD6 #D6CB5C #67D65C
monochromatic
#522593 #6D31C4 #8E5CD6 #B08DE2 #D2BEEF

Accessibility & contrast

On white

4.51
#8E5CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8E5CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CD6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CD6#FFFFFF#000000##000000
##8E5CD61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2276DA
Deuteranopia (green-blind)
#3776D3
Tritanopia (blue-blind)
#7F7590
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e5cd6;
/* rgb */ color: rgb(142, 92, 214);
/* oklch */ color: oklch(58.7% 0.181 299.7);
Tailwind
colors: {
  custom: {
    50: '#b38ce3',
    500: '#8e5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cd6;
$custom-light: #b38ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cd6",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 264.59,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.18115,
    "h": 299.7
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

primary
#8E5CD6
secondary
#CBDEAF
accent
#E345A2
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8E5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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