#8E6CF9#8E6CF9

#8E6CF9 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.5% C 0.202 H 290.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8E6CF9
RGBrgb(142, 108, 249)
HSLhsl(254, 92%, 70%)
HSVhsv(254, 57%, 98%)
CMYKcmyk(43%, 56.6%, 0%, 2.4%)
CIE-LABlab(55.39, 45.85, -66.21)
CIE-LCHlch(55.39, 80.53, 304.70°)
OKLaboklab(63.46% 0.071 -0.1887)
OKLCHoklch(63.46% 0.202 290.6)
XYZxyz(33.6120, 23.3143, 92.3333)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6CF9 #D7F96C
analogous
#6C91F9 #8E6CF9 #D46CF9
triadic
#8E6CF9 #F98E6C #6CF98E
tetradic
#8E6CF9 #F96C91 #D7F96C #6CF9D4
square
#8E6CF9 #F96C91 #D7F96C #6CF9D4
split-complementary
#8E6CF9 #F9D46C #91F96C
monochromatic
#3D09E1 #6131F7 #8E6CF9 #BBA7FB #E8E2FE

Accessibility & contrast

On white

3.71
#8E6CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8E6CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6CF9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6CF9#FFFFFF#000000##000000
##8E6CF91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F87FE
Deuteranopia (green-blind)
#1D82F6
Tritanopia (blue-blind)
#6F8BA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e6cf9;
/* rgb */ color: rgb(142, 108, 249);
/* oklch */ color: oklch(63.5% 0.202 290.6);
Tailwind
colors: {
  custom: {
    50: '#b597fc',
    500: '#8e6cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8e6cf9;
$custom-light: #b597fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6cf9",
  "rgb": {
    "r": 142,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 254.468,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.63462,
    "c": 0.20157,
    "h": 290.6
  },
  "luminance": 0.23315
}

Semantic roles & 50–950 ramp

primary
#8E6CF9
secondary
#EBF4CD
accent
#E600AE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E6CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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