#8D77EC#8D77EC

#8D77EC is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.4% C 0.170 H 289.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D77EC
RGBrgb(141, 119, 236)
HSLhsl(251, 75%, 70%)
HSVhsv(251, 50%, 93%)
CMYKcmyk(40.3%, 49.6%, 0%, 7.5%)
CIE-LABlab(56.99, 35.81, -56.43)
CIE-LCHlch(56.99, 66.83, 302.40°)
OKLaboklab(64.37% 0.0563 -0.1599)
OKLCHoklch(64.37% 0.17 289.4)
XYZxyz(32.7175, 24.9115, 82.4252)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D77EC #D6EC77
analogous
#779CEC #8D77EC #C877EC
triadic
#8D77EC #EC8D77 #77EC8D
tetradic
#8D77EC #EC779C #D6EC77 #77ECC8
square
#8D77EC #EC779C #D6EC77 #77ECC8
split-complementary
#8D77EC #ECC877 #9CEC77
monochromatic
#3E1DCC #6041E4 #8D77EC #BAADF4 #E7E2FB

Accessibility & contrast

On white

3.51
#8D77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8D77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D77EC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D77EC#FFFFFF#000000##000000
##8D77EC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d77ec;
/* rgb */ color: rgb(141, 119, 236);
/* oklch */ color: oklch(64.4% 0.170 289.4);
Tailwind
colors: {
  custom: {
    50: '#b39ef3',
    500: '#8d77ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d77ec;
$custom-light: #b39ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d77ec",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 251.282,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64373,
    "c": 0.16958,
    "h": 289.4
  },
  "luminance": 0.24913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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