#8A77E6#8A77E6

#8A77E6 is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.8% C 0.162 H 288.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A77E6
RGBrgb(138, 119, 230)
HSLhsl(250, 69%, 68%)
HSVhsv(250, 48%, 90%)
CMYKcmyk(40%, 48.3%, 0%, 9.8%)
CIE-LABlab(56.40, 33.44, -54.05)
CIE-LCHlch(56.40, 63.56, 301.74°)
OKLaboklab(63.76% 0.0522 -0.153)
OKLCHoklch(63.76% 0.162 288.8)
XYZxyz(31.3570, 24.3091, 77.8875)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77E6 #D3E677
analogous
#779BE6 #8A77E6 #C177E6
triadic
#8A77E6 #E68A77 #77E68A
tetradic
#8A77E6 #E6779B #D3E677 #77E6C1
square
#8A77E6 #E6779B #D3E677 #77E6C1
split-complementary
#8A77E6 #E6C177 #9BE677
monochromatic
#3E23BF #5E43DC #8A77E6 #B6ABF0 #E3DEF9

Accessibility & contrast

On white

3.58
#8A77E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8A77E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77E6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77E6#FFFFFF#000000##000000
##8A77E61.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEA
Deuteranopia (green-blind)
#4C85E3
Tritanopia (blue-blind)
#708EA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a77e6;
/* rgb */ color: rgb(138, 119, 230);
/* oklch */ color: oklch(63.8% 0.162 288.8);
Tailwind
colors: {
  custom: {
    50: '#b09eee',
    500: '#8a77e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a77e6;
$custom-light: #b09eee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77e6",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 230
  },
  "hsl": {
    "h": 250.27,
    "s": 68.944,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63758,
    "c": 0.16168,
    "h": 288.8
  },
  "luminance": 0.2431
}

Semantic roles & 50–950 ramp

primary
#8A77E6
secondary
#E7EDCC
accent
#D115B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77E6

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

Preview Lab → · Contrast checker → · Palette generator →

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