#8E6EF8#8E6EF8

#8E6EF8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.198 H 290.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E6EF8
RGBrgb(142, 110, 248)
HSLhsl(254, 91%, 70%)
HSVhsv(254, 56%, 97%)
CMYKcmyk(42.7%, 55.6%, 0%, 2.7%)
CIE-LABlab(55.76, 44.45, -65.06)
CIE-LCHlch(55.76, 78.80, 304.34°)
OKLaboklab(63.72% 0.0687 -0.1853)
OKLCHoklch(63.72% 0.198 290.3)
XYZxyz(33.6698, 23.6788, 91.5852)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6EF8 #D8F86E
analogous
#6E93F8 #8E6EF8 #D36EF8
triadic
#8E6EF8 #F88E6E #6EF88E
tetradic
#8E6EF8 #F86E93 #D8F86E #6EF8D3
square
#8E6EF8 #F86E93 #D8F86E #6EF8D3
split-complementary
#8E6EF8 #F8D36E #93F86E
monochromatic
#3C0BE1 #6134F5 #8E6EF8 #BBA8FB #E8E2FE

Accessibility & contrast

On white

3.66
#8E6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8E6EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6EF8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6EF8#FFFFFF#000000##000000
##8E6EF81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FD
Deuteranopia (green-blind)
#2683F5
Tritanopia (blue-blind)
#6F8CA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e6ef8;
/* rgb */ color: rgb(142, 110, 248);
/* oklch */ color: oklch(63.7% 0.198 290.3);
Tailwind
colors: {
  custom: {
    50: '#b598fb',
    500: '#8e6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8e6ef8;
$custom-light: #b598fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6ef8",
  "rgb": {
    "r": 142,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 253.913,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63715,
    "c": 0.19761,
    "h": 290.3
  },
  "luminance": 0.2368
}

Semantic roles & 50–950 ramp

primary
#8E6EF8
secondary
#EBF4CE
accent
#E600B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8E6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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