#8A77C2#8A77C2

#8A77C2 is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.8% C 0.112 H 294.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A77C2
RGBrgb(138, 119, 194)
HSLhsl(255, 38%, 61%)
HSVhsv(255, 39%, 76%)
CMYKcmyk(28.9%, 38.7%, 0%, 23.9%)
CIE-LABlab(54.54, 23.85, -36.64)
CIE-LCHlch(54.54, 43.72, 303.06°)
OKLaboklab(61.76% 0.0467 -0.1023)
OKLCHoklch(61.76% 0.112 294.5)
XYZxyz(26.8133, 22.4916, 53.9571)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77C2 #AFC277
analogous
#778AC2 #8A77C2 #B077C2
triadic
#8A77C2 #C28A77 #77C28A
tetradic
#8A77C2 #C2778A #AFC277 #77C2B0
square
#8A77C2 #C2778A #AFC277 #77C2B0
split-complementary
#8A77C2 #C2B077 #8AC277
monochromatic
#4D3B84 #664EAE #8A77C2 #AEA1D5 #D3CCE8

Accessibility & contrast

On white

3.82
#8A77C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A77C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77C2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77C2#FFFFFF#000000##000000
##8A77C21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6283C5
Deuteranopia (green-blind)
#6581C0
Tritanopia (blue-blind)
#7E8493
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a77c2;
/* rgb */ color: rgb(138, 119, 194);
/* oklch */ color: oklch(61.8% 0.112 294.5);
Tailwind
colors: {
  custom: {
    50: '#ae9ed5',
    500: '#8a77c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a77c2;
$custom-light: #ae9ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77c2",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 194
  },
  "hsl": {
    "h": 255.2,
    "s": 38.071,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.11242,
    "h": 294.5
  },
  "luminance": 0.22492
}

Semantic roles & 50–950 ramp

primary
#8A77C2
secondary
#D1D8BC
accent
#B13491
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A77C2

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

Preview Lab → · Contrast checker → · Palette generator →

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