#8E5EDD#8E5EDD

#8E5EDD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.187 H 297.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8E5EDD
RGBrgb(142, 94, 221)
HSLhsl(263, 65%, 62%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35.7%, 57.5%, 0%, 13.3%)
CIE-LABlab(50.66, 46.18, -58.15)
CIE-LCHlch(50.66, 74.26, 308.46°)
OKLaboklab(59.42% 0.0874 -0.165)
OKLCHoklch(59.42% 0.187 297.9)
XYZxyz(28.2059, 18.9763, 70.5693)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EDD #ADDD5E
analogous
#5E6EDD #8E5EDD #CD5EDD
triadic
#8E5EDD #DD8E5E #5EDD8E
tetradic
#8E5EDD #DD5E6E #ADDD5E #5EDDCD
square
#8E5EDD #DD5E6E #ADDD5E #5EDDCD
split-complementary
#8E5EDD #DDCD5E #6EDD5E
monochromatic
#51229F #6B2CD2 #8E5EDD #B191E8 #D5C3F2

Accessibility & contrast

On white

4.38
#8E5EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8E5EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EDD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EDD#FFFFFF#000000##000000
##8E5EDD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B79E1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#7C7995
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5edd;
/* rgb */ color: rgb(142, 94, 221);
/* oklch */ color: oklch(59.4% 0.187 297.9);
Tailwind
colors: {
  custom: {
    50: '#b38de8',
    500: '#8e5edd',
    950: '#000000',
  },
}
SCSS
$custom: #8e5edd;
$custom-light: #b38de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5edd",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 262.677,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59418,
    "c": 0.18669,
    "h": 297.9
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#8E5EDD
secondary
#D1E3B4
accent
#CD1989
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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