#8E5CDD#8E5CDD

#8E5CDD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.190 H 298.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E5CDD
RGBrgb(142, 92, 221)
HSLhsl(263, 65%, 61%)
HSVhsv(263, 58%, 87%)
CMYKcmyk(35.7%, 58.4%, 0%, 13.3%)
CIE-LABlab(50.25, 47.27, -58.82)
CIE-LCHlch(50.25, 75.46, 308.79°)
OKLaboklab(59.11% 0.0898 -0.1669)
OKLCHoklch(59.11% 0.19 298.3)
XYZxyz(28.0304, 18.6252, 70.5108)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CDD #ABDD5C
analogous
#5C6BDD #8E5CDD #CF5CDD
triadic
#8E5CDD #DD8E5C #5CDD8E
tetradic
#8E5CDD #DD5C6B #ABDD5C #5CDDCF
square
#8E5CDD #DD5C6B #ABDD5C #5CDDCF
split-complementary
#8E5CDD #DDCF5C #6BDD5C
monochromatic
#51219E #6B2BD0 #8E5CDD #B18FE8 #D4C1F2

Accessibility & contrast

On white

4.44
#8E5CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8E5CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CDD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CDD#FFFFFF#000000##000000
##8E5CDD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E1
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#7C7794
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5cdd;
/* rgb */ color: rgb(142, 92, 221);
/* oklch */ color: oklch(59.1% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#b48ce8',
    500: '#8e5cdd',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cdd;
$custom-light: #b48ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cdd",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 263.256,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.18954,
    "h": 298.3
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

primary
#8E5CDD
secondary
#D0E3B2
accent
#CD1887
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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