#8A76AB#8A76AB

#8A76AB is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.5% C 0.082 H 301.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A76AB
RGBrgb(138, 118, 171)
HSLhsl(263, 24%, 57%)
HSVhsv(263, 31%, 67%)
CMYKcmyk(19.3%, 31%, 0%, 32.9%)
CIE-LABlab(53.28, 18.77, -25.39)
CIE-LCHlch(53.28, 31.58, 306.48°)
OKLaboklab(60.45% 0.0426 -0.0699)
OKLCHoklch(60.45% 0.082 301.3)
XYZxyz(24.3088, 21.3004, 41.3509)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76AB #97AB76
analogous
#767DAB #8A76AB #A576AB
triadic
#8A76AB #AB8A76 #76AB8A
tetradic
#8A76AB #AB767D #97AB76 #76ABA5
square
#8A76AB #AB767D #97AB76 #76ABA5
split-complementary
#8A76AB #ABA576 #7DAB76
monochromatic
#4E3F67 #6B578D #8A76AB #AA9CC2 #CBC2DA

Accessibility & contrast

On white

3.99
#8A76AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A76AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76AB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76AB#FFFFFF#000000##000000
##8A76AB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAD
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#847E89
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a76ab;
/* rgb */ color: rgb(138, 118, 171);
/* oklch */ color: oklch(60.5% 0.082 301.3);
Tailwind
colors: {
  custom: {
    50: '#ad9dc4',
    500: '#8a76ab',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ab;
$custom-light: #ad9dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ab",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 171
  },
  "hsl": {
    "h": 262.642,
    "s": 23.982,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60454,
    "c": 0.08187,
    "h": 301.3
  },
  "luminance": 0.213
}

Semantic roles & 50–950 ramp

primary
#8A76AB
secondary
#C1C9B4
accent
#C0679F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A76AB

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

Preview Lab → · Contrast checker → · Palette generator →

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