#8E5CED#8E5CED

#8E5CED is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.209 H 295.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8E5CED
RGBrgb(142, 92, 237)
HSLhsl(261, 80%, 65%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(40.1%, 61.2%, 0%, 7.1%)
CIE-LABlab(51.29, 51.39, -66.15)
CIE-LCHlch(51.29, 83.77, 307.84°)
OKLaboklab(60.21% 0.0891 -0.1885)
OKLCHoklch(60.21% 0.209 295.3)
XYZxyz(30.2645, 19.5188, 82.2773)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CED #BBED5C
analogous
#5C73ED #8E5CED #D75CED
triadic
#8E5CED #ED8E5C #5CED8E
tetradic
#8E5CED #ED5C73 #BBED5C #5CEDD7
square
#8E5CED #ED5C73 #BBED5C #5CEDD7
split-complementary
#8E5CED #EDD75C #73ED5C
monochromatic
#4E15BA #6825E7 #8E5CED #B493F3 #DACAF9

Accessibility & contrast

On white

4.28
#8E5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8E5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CED#FFFFFF#000000##000000
##8E5CED1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#767D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5ced;
/* rgb */ color: rgb(142, 92, 237);
/* oklch */ color: oklch(60.2% 0.209 295.3);
Tailwind
colors: {
  custom: {
    50: '#b58cf4',
    500: '#8e5ced',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ced;
$custom-light: #b58cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ced",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 260.69,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.20851,
    "h": 295.3
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#8E5CED
secondary
#DAEBB9
accent
#DC0994
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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