#8E5EED#8E5EED

#8E5EED is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.206 H 295.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8E5EED
RGBrgb(142, 94, 237)
HSLhsl(260, 80%, 65%)
HSVhsv(260, 60%, 93%)
CMYKcmyk(40.1%, 60.3%, 0%, 7.1%)
CIE-LABlab(51.69, 50.32, -65.50)
CIE-LCHlch(51.69, 82.60, 307.53°)
OKLaboklab(60.5% 0.0869 -0.1866)
OKLCHoklch(60.5% 0.206 295)
XYZxyz(30.4401, 19.8699, 82.3358)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EED #BDED5E
analogous
#5E75ED #8E5EED #D65EED
triadic
#8E5EED #ED8E5E #5EED8E
tetradic
#8E5EED #ED5E75 #BDED5E #5EEDD6
square
#8E5EED #ED5E75 #BDED5E #5EEDD6
split-complementary
#8E5EED #EDD65E #75ED5E
monochromatic
#4D15BC #6727E7 #8E5EED #B595F3 #DBCCF9

Accessibility & contrast

On white

4.22
#8E5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8E5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EED
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EED#FFFFFF#000000##000000
##8E5EED1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0979EA
Tritanopia (blue-blind)
#767E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5eed;
/* rgb */ color: rgb(142, 94, 237);
/* oklch */ color: oklch(60.5% 0.206 295.0);
Tailwind
colors: {
  custom: {
    50: '#b58ef4',
    500: '#8e5eed',
    950: '#000000',
  },
}
SCSS
$custom: #8e5eed;
$custom-light: #b58ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5eed",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 260.14,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.605,
    "c": 0.20585,
    "h": 295
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

primary
#8E5EED
secondary
#DBECBB
accent
#DC0995
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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