#8A77DD#8A77DD

#8A77DD is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.2% C 0.150 H 290.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A77DD
RGBrgb(138, 119, 221)
HSLhsl(251, 60%, 67%)
HSVhsv(251, 46%, 87%)
CMYKcmyk(37.6%, 46.2%, 0%, 13.3%)
CIE-LABlab(55.90, 30.98, -49.79)
CIE-LCHlch(55.90, 58.64, 301.89°)
OKLaboklab(63.23% 0.0512 -0.1406)
OKLCHoklch(63.23% 0.15 290)
XYZxyz(30.1257, 23.8165, 71.4024)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77DD #CADD77
analogous
#7797DD #8A77DD #BD77DD
triadic
#8A77DD #DD8A77 #77DD8A
tetradic
#8A77DD #DD7797 #CADD77 #77DDBD
square
#8A77DD #DD7797 #CADD77 #77DDBD
split-complementary
#8A77DD #DDBD77 #97DD77
monochromatic
#442CAE #6046D1 #8A77DD #B4A8E9 #DED9F5

Accessibility & contrast

On white

3.64
#8A77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77DD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77DD#FFFFFF#000000##000000
##8A77DD1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#5384DB
Tritanopia (blue-blind)
#748B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a77dd;
/* rgb */ color: rgb(138, 119, 221);
/* oklch */ color: oklch(63.2% 0.150 290.0);
Tailwind
colors: {
  custom: {
    50: '#b09ee8',
    500: '#8a77dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a77dd;
$custom-light: #b09ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77dd",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 251.176,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63228,
    "c": 0.14958,
    "h": 290
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

primary
#8A77DD
secondary
#E2E8C7
accent
#C81EA8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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