#8A77C8#8A77C8

#8A77C8 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.1% C 0.121 H 293.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A77C8
RGBrgb(138, 119, 200)
HSLhsl(254, 42%, 63%)
HSVhsv(254, 41%, 78%)
CMYKcmyk(31%, 40.5%, 0%, 21.6%)
CIE-LABlab(54.83, 25.40, -39.61)
CIE-LCHlch(54.83, 47.05, 302.67°)
OKLaboklab(62.07% 0.0479 -0.1109)
OKLCHoklch(62.07% 0.121 293.3)
XYZxyz(27.5008, 22.7666, 57.5779)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77C8 #B5C877
analogous
#778DC8 #8A77C8 #B277C8
triadic
#8A77C8 #C88A77 #77C88A
tetradic
#8A77C8 #C8778D #B5C877 #77C8B2
square
#8A77C8 #C8778D #B5C877 #77C8B2
split-complementary
#8A77C8 #C8B277 #8DC877
monochromatic
#4C398C #654BB6 #8A77C8 #AFA3DA #D5CEEB

Accessibility & contrast

On white

3.78
#8A77C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A77C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77C8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77C8#FFFFFF#000000##000000
##8A77C81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CB
Deuteranopia (green-blind)
#6182C6
Tritanopia (blue-blind)
#7C8696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a77c8;
/* rgb */ color: rgb(138, 119, 200);
/* oklch */ color: oklch(62.1% 0.121 293.3);
Tailwind
colors: {
  custom: {
    50: '#ae9ed9',
    500: '#8a77c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a77c8;
$custom-light: #ae9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77c8",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 254.074,
    "s": 42.408,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.12077,
    "h": 293.3
  },
  "luminance": 0.22767
}

Semantic roles & 50–950 ramp

primary
#8A77C8
secondary
#D5DCBF
accent
#B53096
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A77C8

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

Preview Lab → · Contrast checker → · Palette generator →

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