#8E5DF6#8E5DF6

#8E5DF6 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.218 H 293.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E5DF6
RGBrgb(142, 93, 246)
HSLhsl(259, 89%, 66%)
HSVhsv(259, 62%, 96%)
CMYKcmyk(42.3%, 62.2%, 0%, 3.5%)
CIE-LABlab(52.10, 53.21, -69.87)
CIE-LCHlch(52.10, 87.83, 307.29°)
OKLaboklab(60.99% 0.0874 -0.1994)
OKLCHoklch(60.99% 0.218 293.7)
XYZxyz(31.6997, 20.2325, 89.4060)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DF6 #C5F65D
analogous
#5D79F6 #8E5DF6 #DB5DF6
triadic
#8E5DF6 #F68E5D #5DF68E
tetradic
#8E5DF6 #F65D79 #C5F65D #5DF6DB
square
#8E5DF6 #F65D79 #C5F65D #5DF6DB
split-complementary
#8E5DF6 #F6DB5D #79F65D
monochromatic
#490BCD #6623F3 #8E5DF6 #B697F9 #DFD1FC

Accessibility & contrast

On white

4.16
#8E5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8E5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DF6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DF6#FFFFFF#000000##000000
##8E5DF61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#7180A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5df6;
/* rgb */ color: rgb(142, 93, 246);
/* oklch */ color: oklch(61.0% 0.218 293.7);
Tailwind
colors: {
  custom: {
    50: '#b68dfa',
    500: '#8e5df6',
    950: '#000000',
  },
}
SCSS
$custom: #8e5df6;
$custom-light: #b68dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5df6",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 259.216,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.21776,
    "h": 293.7
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#8E5DF6
secondary
#E0F0BF
accent
#E6009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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