#8E5CF6#8E5CF6

#8E5CF6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.219 H 293.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E5CF6
RGBrgb(142, 92, 246)
HSLhsl(259, 90%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(42.3%, 62.6%, 0%, 3.5%)
CIE-LABlab(51.90, 53.74, -70.19)
CIE-LCHlch(51.90, 88.40, 307.44°)
OKLaboklab(60.85% 0.0885 -0.2004)
OKLCHoklch(60.85% 0.219 293.8)
XYZxyz(31.6125, 20.0581, 89.3769)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CF6 #C4F65C
analogous
#5C77F6 #8E5CF6 #DB5CF6
triadic
#8E5CF6 #F68E5C #5CF68E
tetradic
#8E5CF6 #F65C77 #C4F65C #5CF6DB
square
#8E5CF6 #F65C77 #C4F65C #5CF6DB
split-complementary
#8E5CF6 #F6DB5C #77F65C
monochromatic
#4A0BCC #6622F3 #8E5CF6 #B696F9 #DED0FC

Accessibility & contrast

On white

4.19
#8E5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8E5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CF6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CF6#FFFFFF#000000##000000
##8E5CF61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#7180A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5cf6;
/* rgb */ color: rgb(142, 92, 246);
/* oklch */ color: oklch(60.8% 0.219 293.8);
Tailwind
colors: {
  custom: {
    50: '#b68dfa',
    500: '#8e5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cf6;
$custom-light: #b68dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cf6",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 259.481,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60848,
    "c": 0.21904,
    "h": 293.8
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#8E5CF6
secondary
#E0F0BE
accent
#E6009B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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