#8E5AEC#8E5AEC

#8E5AEC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.210 H 295.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E5AEC
RGBrgb(142, 90, 236)
HSLhsl(261, 79%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(39.8%, 61.9%, 0%, 7.5%)
CIE-LABlab(50.83, 52.19, -66.34)
CIE-LCHlch(50.83, 84.41, 308.19°)
OKLaboklab(59.85% 0.0914 -0.1891)
OKLCHoklch(59.85% 0.21 295.8)
XYZxyz(29.9479, 19.1186, 81.4530)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5AEC #B8EC5A
analogous
#5A6FEC #8E5AEC #D75AEC
triadic
#8E5AEC #EC8E5A #5AEC8E
tetradic
#8E5AEC #EC5A6F #B8EC5A #5AECD7
square
#8E5AEC #EC5A6F #B8EC5A #5AECD7
split-complementary
#8E5AEC #ECD75A #6FEC5A
monochromatic
#4F15B7 #6823E6 #8E5AEC #B491F2 #D9C8F9

Accessibility & contrast

On white

4.35
#8E5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8E5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5AEC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5AEC#FFFFFF#000000##000000
##8E5AEC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#767B9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5aec;
/* rgb */ color: rgb(142, 90, 236);
/* oklch */ color: oklch(59.9% 0.210 295.8);
Tailwind
colors: {
  custom: {
    50: '#b58bf3',
    500: '#8e5aec',
    950: '#000000',
  },
}
SCSS
$custom: #8e5aec;
$custom-light: #b58bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5aec",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 261.37,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.20999,
    "h": 295.8
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

primary
#8E5AEC
secondary
#D8EBB7
accent
#DC0A91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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