#8D77E2#8D77E2

#8D77E2 is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.8% C 0.156 H 290.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8D77E2
RGBrgb(141, 119, 226)
HSLhsl(252, 65%, 68%)
HSVhsv(252, 47%, 89%)
CMYKcmyk(37.6%, 47.3%, 0%, 11.4%)
CIE-LABlab(56.43, 33.09, -51.73)
CIE-LCHlch(56.43, 61.41, 302.60°)
OKLaboklab(63.78% 0.0554 -0.1462)
OKLCHoklch(63.78% 0.156 290.7)
XYZxyz(31.3051, 24.3465, 74.9867)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D77E2 #CCE277
analogous
#7797E2 #8D77E2 #C277E2
triadic
#8D77E2 #E28D77 #77E28D
tetradic
#8D77E2 #E27797 #CCE277 #77E2C2
square
#8D77E2 #E27797 #CCE277 #77E2C2
split-complementary
#8D77E2 #E2C277 #97E277
monochromatic
#4527B7 #6345D7 #8D77E2 #B7A9ED #E2DCF8

Accessibility & contrast

On white

3.58
#8D77E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8D77E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D77E2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D77E2#FFFFFF#000000##000000
##8D77E21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#5185DF
Tritanopia (blue-blind)
#778CA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d77e2;
/* rgb */ color: rgb(141, 119, 226);
/* oklch */ color: oklch(63.8% 0.156 290.7);
Tailwind
colors: {
  custom: {
    50: '#b29eeb',
    500: '#8d77e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d77e2;
$custom-light: #b29eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d77e2",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 252.336,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63777,
    "c": 0.15631,
    "h": 290.7
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#8D77E2
secondary
#E4EBCA
accent
#CD19A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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