#8E6DFD#8E6DFD

#8E6DFD is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 63.9% C 0.205 H 289.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8E6DFD
RGBrgb(142, 109, 253)
HSLhsl(254, 97%, 71%)
HSVhsv(254, 57%, 99%)
CMYKcmyk(43.9%, 56.9%, 0%, 0.8%)
CIE-LABlab(55.87, 46.38, -67.67)
CIE-LCHlch(55.87, 82.03, 304.43°)
OKLaboklab(63.89% 0.0698 -0.1929)
OKLCHoklch(63.89% 0.205 289.9)
XYZxyz(34.3486, 23.7787, 95.6894)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6DFD #DCFD6D
analogous
#6D94FD #8E6DFD #D66DFD
triadic
#8E6DFD #FD8E6D #6DFD8E
tetradic
#8E6DFD #FD6D94 #DCFD6D #6DFDD6
square
#8E6DFD #FD6D94 #DCFD6D #6DFDD6
split-complementary
#8E6DFD #FDD66D #94FD6D
monochromatic
#3903EC #5F31FC #8E6DFD #BDA9FE #E8E1FF

Accessibility & contrast

On white

3.65
#8E6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8E6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6DFD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6DFD#FFFFFF#000000##000000
##8E6DFD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0389FF
Deuteranopia (green-blind)
#1483FA
Tritanopia (blue-blind)
#6D8DAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e6dfd;
/* rgb */ color: rgb(142, 109, 253);
/* oklch */ color: oklch(63.9% 0.205 289.9);
Tailwind
colors: {
  custom: {
    50: '#b698ff',
    500: '#8e6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8e6dfd;
$custom-light: #b698ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6dfd",
  "rgb": {
    "r": 142,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 253.75,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6389,
    "c": 0.20519,
    "h": 289.9
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#8E6DFD
secondary
#EDF6D0
accent
#E600B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8E6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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