#8E5DE7#8E5DE7

#8E5DE7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.200 H 296.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E5DE7
RGBrgb(142, 93, 231)
HSLhsl(261, 74%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(38.5%, 59.7%, 0%, 9.4%)
CIE-LABlab(51.09, 49.30, -63.10)
CIE-LCHlch(51.09, 80.07, 308.00°)
OKLaboklab(59.94% 0.0883 -0.1795)
OKLCHoklch(59.94% 0.2 296.2)
XYZxyz(29.4898, 19.3485, 77.7667)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DE7 #B6E75D
analogous
#5D71E7 #8E5DE7 #D35DE7
triadic
#8E5DE7 #E78E5D #5DE78E
tetradic
#8E5DE7 #E75D71 #B6E75D #5DE7D3
square
#8E5DE7 #E75D71 #B6E75D #5DE7D3
split-complementary
#8E5DE7 #E7D35D #71E75D
monochromatic
#4F1AB0 #6928DF #8E5DE7 #B392EF #D8C8F7

Accessibility & contrast

On white

4.31
#8E5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8E5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DE7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DE7#FFFFFF#000000##000000
##8E5DE71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#787B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5de7;
/* rgb */ color: rgb(142, 93, 231);
/* oklch */ color: oklch(59.9% 0.200 296.2);
Tailwind
colors: {
  custom: {
    50: '#b48def',
    500: '#8e5de7',
    950: '#000000',
  },
}
SCSS
$custom: #8e5de7;
$custom-light: #b48def;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5de7",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 261.304,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.20007,
    "h": 296.2
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#8E5DE7
secondary
#D7E8B7
accent
#D60F90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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