#8E5DF3#8E5DF3

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

Color values

HEX#8E5DF3
RGBrgb(142, 93, 243)
HSLhsl(260, 86%, 66%)
HSVhsv(260, 62%, 95%)
CMYKcmyk(41.6%, 61.7%, 0%, 4.7%)
CIE-LABlab(51.89, 52.43, -68.53)
CIE-LCHlch(51.89, 86.28, 307.42°)
OKLaboklab(60.78% 0.0876 -0.1955)
OKLCHoklch(60.78% 0.214 294.1)
XYZxyz(31.2430, 20.0498, 87.0005)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DF3 #C2F35D
analogous
#5D77F3 #8E5DF3 #D95DF3
triadic
#8E5DF3 #F38E5D #5DF38E
tetradic
#8E5DF3 #F35D77 #C2F35D #5DF3D9
square
#8E5DF3 #F35D77 #C2F35D #5DF3D9
split-complementary
#8E5DF3 #F3D95D #77F35D
monochromatic
#4B0FC7 #6624EF #8E5DF3 #B696F7 #DDCFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E5DF3#FFFFFF#000000##000000
##8E5DF31.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)
#007DF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#737FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5df3;
/* rgb */ color: rgb(142, 93, 243);
/* oklch */ color: oklch(60.8% 0.214 294.1);
Tailwind
colors: {
  custom: {
    50: '#b58df8',
    500: '#8e5df3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5df3;
$custom-light: #b58df8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5df3",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 259.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.21425,
    "h": 294.1
  },
  "luminance": 0.20051
}

Semantic roles & 50–950 ramp

primary
#8E5DF3
secondary
#DEEFBD
accent
#E3039A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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