#8E76EA#8E76EA

#8E76EA is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.2% C 0.168 H 290.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8E76EA
RGBrgb(142, 118, 234)
HSLhsl(252, 73%, 69%)
HSVhsv(252, 50%, 92%)
CMYKcmyk(39.3%, 49.6%, 0%, 8.2%)
CIE-LABlab(56.73, 36.08, -55.73)
CIE-LCHlch(56.73, 66.39, 302.92°)
OKLaboklab(64.16% 0.0586 -0.1578)
OKLCHoklch(64.16% 0.168 290.4)
XYZxyz(32.4810, 24.6472, 80.8720)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E76EA #D2EA76
analogous
#7698EA #8E76EA #C876EA
triadic
#8E76EA #EA8E76 #76EA8E
tetradic
#8E76EA #EA7698 #D2EA76 #76EAC8
square
#8E76EA #EA7698 #D2EA76 #76EAC8
split-complementary
#8E76EA #EAC876 #98EA76
monochromatic
#411FC7 #6241E2 #8E76EA #BAABF2 #E6E0FA

Accessibility & contrast

On white

3.54
#8E76EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8E76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E76EA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E76EA#FFFFFF#000000##000000
##8E76EA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#4A86E7
Tritanopia (blue-blind)
#758EA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e76ea;
/* rgb */ color: rgb(142, 118, 234);
/* oklch */ color: oklch(64.2% 0.168 290.4);
Tailwind
colors: {
  custom: {
    50: '#b39ef1',
    500: '#8e76ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e76ea;
$custom-light: #b39ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e76ea",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 252.414,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.16838,
    "h": 290.4
  },
  "luminance": 0.24648
}

Semantic roles & 50–950 ramp

primary
#8E76EA
secondary
#E8EFCD
accent
#D610AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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