#8E5DFA#8E5DFA

#8E5DFA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.222 H 293.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8E5DFA
RGBrgb(142, 93, 250)
HSLhsl(259, 94%, 67%)
HSVhsv(259, 63%, 98%)
CMYKcmyk(43.2%, 62.8%, 0%, 2%)
CIE-LABlab(52.38, 54.27, -71.65)
CIE-LCHlch(52.38, 89.88, 307.14°)
OKLaboklab(61.28% 0.0871 -0.2047)
OKLCHoklch(61.28% 0.222 293)
XYZxyz(32.3203, 20.4807, 92.6742)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DFA #C9FA5D
analogous
#5D7BFA #8E5DFA #DC5DFA
triadic
#8E5DFA #FA8E5D #5DFA8E
tetradic
#8E5DFA #FA5D7B #C9FA5D #5DFADC
square
#8E5DFA #FA5D7B #C9FA5D #5DFADC
split-complementary
#8E5DFA #FADC5D #7BFA5D
monochromatic
#4707D6 #6522F8 #8E5DFA #B798FC #E1D4FE

Accessibility & contrast

On white

4.12
#8E5DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8E5DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DFA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DFA#FFFFFF#000000##000000
##8E5DFA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#6F82A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e5dfa;
/* rgb */ color: rgb(142, 93, 250);
/* oklch */ color: oklch(61.3% 0.222 293.0);
Tailwind
colors: {
  custom: {
    50: '#b68dfd',
    500: '#8e5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #8e5dfa;
$custom-light: #b68dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5dfa",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 258.726,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61278,
    "c": 0.22242,
    "h": 293
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#8E5DFA
secondary
#E3F2C1
accent
#E6009E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8E5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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