#8E77EC#8E77EC

#8E77EC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.5% C 0.170 H 289.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8E77EC
RGBrgb(142, 119, 236)
HSLhsl(252, 75%, 70%)
HSVhsv(252, 50%, 93%)
CMYKcmyk(39.8%, 49.6%, 0%, 7.5%)
CIE-LABlab(57.08, 36.05, -56.29)
CIE-LCHlch(57.08, 66.84, 302.63°)
OKLaboklab(64.46% 0.0575 -0.1595)
OKLCHoklch(64.46% 0.17 289.8)
XYZxyz(32.8883, 24.9996, 82.4332)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E77EC #D5EC77
analogous
#779BEC #8E77EC #C977EC
triadic
#8E77EC #EC8E77 #77EC8E
tetradic
#8E77EC #EC779B #D5EC77 #77ECC9
square
#8E77EC #EC779B #D5EC77 #77ECC9
split-complementary
#8E77EC #ECC977 #9BEC77
monochromatic
#3F1DCC #6141E4 #8E77EC #BBADF4 #E7E2FB

Accessibility & contrast

On white

3.50
#8E77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8E77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E77EC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E77EC#FFFFFF#000000##000000
##8E77EC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#748FA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e77ec;
/* rgb */ color: rgb(142, 119, 236);
/* oklch */ color: oklch(64.5% 0.170 289.8);
Tailwind
colors: {
  custom: {
    50: '#b39ef3',
    500: '#8e77ec',
    950: '#000000',
  },
}
SCSS
$custom: #8e77ec;
$custom-light: #b39ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e77ec",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 251.795,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64459,
    "c": 0.16956,
    "h": 289.8
  },
  "luminance": 0.25001
}

Semantic roles & 50–950 ramp

primary
#8E77EC
secondary
#EAF0CF
accent
#D80EB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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