#8E77DC#8E77DC

#8E77DC is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.5% C 0.148 H 292.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E77DC
RGBrgb(142, 119, 220)
HSLhsl(254, 59%, 66%)
HSVhsv(254, 46%, 86%)
CMYKcmyk(35.5%, 45.9%, 0%, 13.7%)
CIE-LABlab(56.20, 31.74, -48.73)
CIE-LCHlch(56.20, 58.16, 303.07°)
OKLaboklab(63.52% 0.0558 -0.1374)
OKLCHoklch(63.52% 0.148 292.1)
XYZxyz(30.6670, 24.1110, 70.7344)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E77DC #C5DC77
analogous
#7793DC #8E77DC #C177DC
triadic
#8E77DC #DC8E77 #77DC8E
tetradic
#8E77DC #DC7793 #C5DC77 #77DCC1
square
#8E77DC #DC7793 #C5DC77 #77DCC1
split-complementary
#8E77DC #DCC177 #93DC77
monochromatic
#492CAC #6646CF #8E77DC #B6A8E9 #DFD8F5

Accessibility & contrast

On white

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

On black

5.82
#8E77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E77DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E77DC#FFFFFF#000000##000000
##8E77DC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#5785DA
Tritanopia (blue-blind)
#7B8A9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e77dc;
/* rgb */ color: rgb(142, 119, 220);
/* oklch */ color: oklch(63.5% 0.148 292.1);
Tailwind
colors: {
  custom: {
    50: '#b29ee7',
    500: '#8e77dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e77dc;
$custom-light: #b29ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e77dc",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 253.663,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63517,
    "c": 0.14829,
    "h": 292.1
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#8E77DC
secondary
#E0E8C7
accent
#C71FA0
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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