#8A77D3#8A77D3

#8A77D3 is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.7% C 0.136 H 291.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A77D3
RGBrgb(138, 119, 211)
HSLhsl(252, 51%, 65%)
HSVhsv(252, 44%, 83%)
CMYKcmyk(34.6%, 43.6%, 0%, 17.3%)
CIE-LABlab(55.38, 28.29, -44.98)
CIE-LCHlch(55.38, 53.14, 302.17°)
OKLaboklab(62.66% 0.0498 -0.1265)
OKLCHoklch(62.66% 0.136 291.5)
XYZxyz(28.8329, 23.2994, 64.5935)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77D3 #C0D377
analogous
#7792D3 #8A77D3 #B877D3
triadic
#8A77D3 #D38A77 #77D38A
tetradic
#8A77D3 #D37792 #C0D377 #77D3B8
square
#8A77D3 #D37792 #C0D377 #77D3B8
split-complementary
#8A77D3 #D3B877 #92D377
monochromatic
#49339D #6249C4 #8A77D3 #B2A5E2 #DAD3F1

Accessibility & contrast

On white

3.71
#8A77D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A77D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77D3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77D3#FFFFFF#000000##000000
##8A77D31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D6
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#78889B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a77d3;
/* rgb */ color: rgb(138, 119, 211);
/* oklch */ color: oklch(62.7% 0.136 291.5);
Tailwind
colors: {
  custom: {
    50: '#af9ee1',
    500: '#8a77d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a77d3;
$custom-light: #af9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77d3",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 211
  },
  "hsl": {
    "h": 252.391,
    "s": 51.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62662,
    "c": 0.13595,
    "h": 291.5
  },
  "luminance": 0.233
}

Semantic roles & 50–950 ramp

primary
#8A77D3
secondary
#DCE3C3
accent
#BE279F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A77D3

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

Preview Lab → · Contrast checker → · Palette generator →

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