#8E6EFE#8E6EFE

#8E6EFE is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.1% C 0.205 H 289.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8E6EFE
RGBrgb(142, 110, 254)
HSLhsl(253, 99%, 71%)
HSVhsv(253, 57%, 100%)
CMYKcmyk(44.1%, 56.7%, 0%, 0.4%)
CIE-LABlab(56.14, 46.10, -67.77)
CIE-LCHlch(56.14, 81.96, 304.22°)
OKLaboklab(64.12% 0.0687 -0.1932)
OKLCHoklch(64.12% 0.205 289.6)
XYZxyz(34.6156, 24.0571, 96.5663)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6EFE #DEFE6E
analogous
#6E96FE #8E6EFE #D66EFE
triadic
#8E6EFE #FE8E6E #6EFE8E
tetradic
#8E6EFE #FE6E96 #DEFE6E #6EFED6
square
#8E6EFE #FE6E96 #DEFE6E #6EFED6
split-complementary
#8E6EFE #FED66E #96FE6E
monochromatic
#3702F0 #5F31FE #8E6EFE #BDABFE #E7E1FF

Accessibility & contrast

On white

3.61
#8E6EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8E6EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6EFE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6EFE#FFFFFF#000000##000000
##8E6EFE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0789FF
Deuteranopia (green-blind)
#1583FB
Tritanopia (blue-blind)
#6C8EAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e6efe;
/* rgb */ color: rgb(142, 110, 254);
/* oklch */ color: oklch(64.1% 0.205 289.6);
Tailwind
colors: {
  custom: {
    50: '#b698ff',
    500: '#8e6efe',
    950: '#000000',
  },
}
SCSS
$custom: #8e6efe;
$custom-light: #b698ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6efe",
  "rgb": {
    "r": 142,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 253.333,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.20509,
    "h": 289.6
  },
  "luminance": 0.24058
}

Semantic roles & 50–950 ramp

primary
#8E6EFE
secondary
#EEF7D1
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8E6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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