#8A77A2#8A77A2

#8A77A2 is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.3% C 0.068 H 304.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A77A2
RGBrgb(138, 119, 162)
HSLhsl(267, 19%, 55%)
HSVhsv(267, 27%, 64%)
CMYKcmyk(14.8%, 26.5%, 0%, 36.5%)
CIE-LABlab(53.17, 16.09, -20.33)
CIE-LCHlch(53.17, 25.93, 308.36°)
OKLaboklab(60.26% 0.0384 -0.0556)
OKLCHoklch(60.26% 0.068 304.6)
XYZxyz(23.5984, 21.2056, 37.0253)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77A2 #8FA277
analogous
#7779A2 #8A77A2 #9F77A2
triadic
#8A77A2 #A28A77 #77A28A
tetradic
#8A77A2 #A27779 #8FA277 #77A29F
square
#8A77A2 #A27779 #8FA277 #77A29F
split-complementary
#8A77A2 #A29F77 #79A277
monochromatic
#4E405E #6C5983 #8A77A2 #A99BBB #C9C0D4

Accessibility & contrast

On white

4.01
#8A77A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A77A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77A2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77A2#FFFFFF#000000##000000
##8A77A21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7EA4
Deuteranopia (green-blind)
#727FA1
Tritanopia (blue-blind)
#877D86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a77a2;
/* rgb */ color: rgb(138, 119, 162);
/* oklch */ color: oklch(60.3% 0.068 304.6);
Tailwind
colors: {
  custom: {
    50: '#ac9ebd',
    500: '#8a77a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a77a2;
$custom-light: #ac9ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77a2",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 266.512,
    "s": 18.777,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.06756,
    "h": 304.6
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#8A77A2
secondary
#BBC3B1
accent
#BB6C98
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A77A2

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

Preview Lab → · Contrast checker → · Palette generator →

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