#8E5DEE#8E5DEE

#8E5DEE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.208 H 295.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E5DEE
RGBrgb(142, 93, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.3%, 60.9%, 0%, 6.7%)
CIE-LABlab(51.56, 51.12, -66.28)
CIE-LCHlch(51.56, 83.70, 307.64°)
OKLaboklab(60.42% 0.088 -0.1889)
OKLCHoklch(60.42% 0.208 295)
XYZxyz(30.4982, 19.7518, 83.0780)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DEE #BDEE5D
analogous
#5D74EE #8E5DEE #D75DEE
triadic
#8E5DEE #EE8E5D #5DEE8E
tetradic
#8E5DEE #EE5D74 #BDEE5D #5DEED7
square
#8E5DEE #EE5D74 #BDEE5D #5DEED7
split-complementary
#8E5DEE #EED75D #74EE5D
monochromatic
#4D14BD #6726E8 #8E5DEE #B594F4 #DBCCFA

Accessibility & contrast

On white

4.24
#8E5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8E5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DEE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DEE#FFFFFF#000000##000000
##8E5DEE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#757E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5dee;
/* rgb */ color: rgb(142, 93, 238);
/* oklch */ color: oklch(60.4% 0.208 295.0);
Tailwind
colors: {
  custom: {
    50: '#b58df4',
    500: '#8e5dee',
    950: '#000000',
  },
}
SCSS
$custom: #8e5dee;
$custom-light: #b58df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5dee",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 260.276,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.20837,
    "h": 295
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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