#8A77D4#8A77D4

#8A77D4 is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.7% C 0.137 H 291.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A77D4
RGBrgb(138, 119, 212)
HSLhsl(252, 52%, 65%)
HSVhsv(252, 44%, 83%)
CMYKcmyk(34.9%, 43.9%, 0%, 16.9%)
CIE-LABlab(55.43, 28.56, -45.47)
CIE-LCHlch(55.43, 53.69, 302.13°)
OKLaboklab(62.72% 0.0499 -0.1279)
OKLCHoklch(62.72% 0.137 291.3)
XYZxyz(28.9586, 23.3497, 65.2558)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77D4 #C1D477
analogous
#7793D4 #8A77D4 #B877D4
triadic
#8A77D4 #D48A77 #77D48A
tetradic
#8A77D4 #D47793 #C1D477 #77D4B8
square
#8A77D4 #D47793 #C1D477 #77D4B8
split-complementary
#8A77D4 #D4B877 #93D477
monochromatic
#48329E #6249C5 #8A77D4 #B2A5E3 #DAD4F1

Accessibility & contrast

On white

3.70
#8A77D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A77D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77D4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77D4#FFFFFF#000000##000000
##8A77D41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D7
Deuteranopia (green-blind)
#5A83D2
Tritanopia (blue-blind)
#78899B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a77d4;
/* rgb */ color: rgb(138, 119, 212);
/* oklch */ color: oklch(62.7% 0.137 291.3);
Tailwind
colors: {
  custom: {
    50: '#af9ee1',
    500: '#8a77d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a77d4;
$custom-light: #af9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77d4",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 252.258,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62717,
    "c": 0.13732,
    "h": 291.3
  },
  "luminance": 0.2335
}

Semantic roles & 50–950 ramp

primary
#8A77D4
secondary
#DDE3C4
accent
#BF26A0
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A77D4

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

Preview Lab → · Contrast checker → · Palette generator →

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