#8E6CFD#8E6CFD

#8E6CFD is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 63.7% C 0.207 H 290.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8E6CFD
RGBrgb(142, 108, 253)
HSLhsl(254, 97%, 71%)
HSVhsv(254, 57%, 99%)
CMYKcmyk(43.9%, 57.3%, 0%, 0.8%)
CIE-LABlab(55.65, 46.94, -68.01)
CIE-LCHlch(55.65, 82.64, 304.61°)
OKLaboklab(63.73% 0.0709 -0.194)
OKLCHoklch(63.73% 0.207 290.1)
XYZxyz(34.2425, 23.5666, 95.6541)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6CFD #DBFD6C
analogous
#6C92FD #8E6CFD #D66CFD
triadic
#8E6CFD #FD8E6C #6CFD8E
tetradic
#8E6CFD #FD6C92 #DBFD6C #6CFDD6
square
#8E6CFD #FD6C92 #DBFD6C #6CFDD6
split-complementary
#8E6CFD #FDD66C #92FD6C
monochromatic
#3A03EB #6030FC #8E6CFD #BCA8FE #E8E1FF

Accessibility & contrast

On white

3.68
#8E6CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8E6CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6CFD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6CFD#FFFFFF#000000##000000
##8E6CFD1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0E82FA
Tritanopia (blue-blind)
#6D8CAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e6cfd;
/* rgb */ color: rgb(142, 108, 253);
/* oklch */ color: oklch(63.7% 0.207 290.1);
Tailwind
colors: {
  custom: {
    50: '#b697ff',
    500: '#8e6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #8e6cfd;
$custom-light: #b697ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6cfd",
  "rgb": {
    "r": 142,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 254.069,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63732,
    "c": 0.20653,
    "h": 290.1
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#8E6CFD
secondary
#EDF6CF
accent
#E600B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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