#8E5EE9#8E5EE9

#8E5EE9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.201 H 295.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8E5EE9
RGBrgb(142, 94, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(39.1%, 59.7%, 0%, 8.6%)
CIE-LABlab(51.43, 49.28, -63.68)
CIE-LCHlch(51.43, 80.52, 307.73°)
OKLaboklab(60.22% 0.0871 -0.1812)
OKLCHoklch(60.22% 0.201 295.7)
XYZxyz(29.8622, 19.6388, 79.2923)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EE9 #B9E95E
analogous
#5E74E9 #8E5EE9 #D35EE9
triadic
#8E5EE9 #E98E5E #5EE98E
tetradic
#8E5EE9 #E95E74 #B9E95E #5EE9D3
square
#8E5EE9 #E95E74 #B9E95E #5EE9D3
split-complementary
#8E5EE9 #E9D35E #74E95E
monochromatic
#4E19B4 #6828E2 #8E5EE9 #B494F0 #DACAF8

Accessibility & contrast

On white

4.26
#8E5EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8E5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EE9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EE9#FFFFFF#000000##000000
##8E5EE91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#1979E6
Tritanopia (blue-blind)
#777C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5ee9;
/* rgb */ color: rgb(142, 94, 233);
/* oklch */ color: oklch(60.2% 0.201 295.7);
Tailwind
colors: {
  custom: {
    50: '#b58ef1',
    500: '#8e5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ee9;
$custom-light: #b58ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ee9",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 260.719,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.20109,
    "h": 295.7
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#8E5EE9
secondary
#D9EAB9
accent
#D80D92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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