#8A77CA#8A77CA

#8A77CA is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.2% C 0.124 H 293.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A77CA
RGBrgb(138, 119, 202)
HSLhsl(254, 44%, 63%)
HSVhsv(254, 41%, 79%)
CMYKcmyk(31.7%, 41.1%, 0%, 20.8%)
CIE-LABlab(54.93, 25.92, -40.59)
CIE-LCHlch(54.93, 48.16, 302.56°)
OKLaboklab(62.17% 0.0482 -0.1137)
OKLCHoklch(62.17% 0.124 293)
XYZxyz(27.7360, 22.8607, 58.8169)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77CA #B7CA77
analogous
#778DCA #8A77CA #B377CA
triadic
#8A77CA #CA8A77 #77CA8A
tetradic
#8A77CA #CA778D #B7CA77 #77CAB3
square
#8A77CA #CA778D #B7CA77 #77CAB3
split-complementary
#8A77CA #CAB377 #8DCA77
monochromatic
#4C388F #644BB9 #8A77CA #B0A3DB #D6CFEC

Accessibility & contrast

On white

3.77
#8A77CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77CA#FFFFFF#000000##000000
##8A77CA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#7B8697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a77ca;
/* rgb */ color: rgb(138, 119, 202);
/* oklch */ color: oklch(62.2% 0.124 293.0);
Tailwind
colors: {
  custom: {
    50: '#ae9eda',
    500: '#8a77ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a77ca;
$custom-light: #ae9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77ca",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 253.735,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62173,
    "c": 0.12355,
    "h": 293
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#8A77CA
secondary
#D6DDBF
accent
#B72E98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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