#8A77E1#8A77E1

#8A77E1 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.5% C 0.155 H 289.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A77E1
RGBrgb(138, 119, 225)
HSLhsl(251, 64%, 67%)
HSVhsv(251, 47%, 88%)
CMYKcmyk(38.7%, 47.1%, 0%, 11.8%)
CIE-LABlab(56.12, 32.07, -51.69)
CIE-LCHlch(56.12, 60.83, 301.82°)
OKLaboklab(63.46% 0.0517 -0.1461)
OKLCHoklch(63.46% 0.155 289.5)
XYZxyz(30.6650, 24.0323, 74.2426)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77E1 #CEE177
analogous
#7799E1 #8A77E1 #BF77E1
triadic
#8A77E1 #E18A77 #77E18A
tetradic
#8A77E1 #E17799 #CEE177 #77E1BF
square
#8A77E1 #E17799 #CEE177 #77E1BF
split-complementary
#8A77E1 #E1BF77 #99E177
monochromatic
#4128B6 #5F45D6 #8A77E1 #B5A9EC #E0DBF7

Accessibility & contrast

On white

3.62
#8A77E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8A77E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77E1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77E1#FFFFFF#000000##000000
##8A77E11.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E5
Deuteranopia (green-blind)
#5084DF
Tritanopia (blue-blind)
#738CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a77e1;
/* rgb */ color: rgb(138, 119, 225);
/* oklch */ color: oklch(63.5% 0.155 289.5);
Tailwind
colors: {
  custom: {
    50: '#b09eeb',
    500: '#8a77e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a77e1;
$custom-light: #b09eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77e1",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 225
  },
  "hsl": {
    "h": 250.755,
    "s": 63.855,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.15498,
    "h": 289.5
  },
  "luminance": 0.24033
}

Semantic roles & 50–950 ramp

primary
#8A77E1
secondary
#E5EAC9
accent
#CC1AAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77E1

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

Preview Lab → · Contrast checker → · Palette generator →

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