#8E5DF8#8E5DF8

#8E5DF8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.220 H 293.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8E5DF8
RGBrgb(142, 93, 248)
HSLhsl(259, 92%, 67%)
HSVhsv(259, 63%, 97%)
CMYKcmyk(42.7%, 62.5%, 0%, 2.7%)
CIE-LABlab(52.24, 53.74, -70.76)
CIE-LCHlch(52.24, 88.85, 307.22°)
OKLaboklab(61.13% 0.0872 -0.2021)
OKLCHoklch(61.13% 0.22 293.4)
XYZxyz(32.0084, 20.3559, 91.0314)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DF8 #C7F85D
analogous
#5D7AF8 #8E5DF8 #DC5DF8
triadic
#8E5DF8 #F88E5D #5DF88E
tetradic
#8E5DF8 #F85D7A #C7F85D #5DF8DC
square
#8E5DF8 #F85D7A #C7F85D #5DF8DC
split-complementary
#8E5DF8 #F8DC5D #7AF85D
monochromatic
#4809D2 #6522F5 #8E5DF8 #B798FB #E0D2FD

Accessibility & contrast

On white

4.14
#8E5DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8E5DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DF8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DF8#FFFFFF#000000##000000
##8E5DF81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#7081A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e5df8;
/* rgb */ color: rgb(142, 93, 248);
/* oklch */ color: oklch(61.1% 0.220 293.4);
Tailwind
colors: {
  custom: {
    50: '#b68dfb',
    500: '#8e5df8',
    950: '#000000',
  },
}
SCSS
$custom: #8e5df8;
$custom-light: #b68dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5df8",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 258.968,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.22009,
    "h": 293.4
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#8E5DF8
secondary
#E2F1C0
accent
#E6009D
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8E5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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