#8A76AC#8A76AC

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

Color values

HEX#8A76AC
RGBrgb(138, 118, 172)
HSLhsl(262, 25%, 57%)
HSVhsv(262, 31%, 67%)
CMYKcmyk(19.8%, 31.4%, 0%, 32.5%)
CIE-LABlab(53.32, 19.01, -25.91)
CIE-LCHlch(53.32, 32.13, 306.27°)
OKLaboklab(60.5% 0.0428 -0.0714)
OKLCHoklch(60.5% 0.083 300.9)
XYZxyz(24.4045, 21.3387, 41.8548)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76AC #98AC76
analogous
#767DAC #8A76AC #A576AC
triadic
#8A76AC #AC8A76 #76AC8A
tetradic
#8A76AC #AC767D #98AC76 #76ACA5
square
#8A76AC #AC767D #98AC76 #76ACA5
split-complementary
#8A76AC #ACA576 #7DAC76
monochromatic
#4E3F68 #6B568E #8A76AC #AB9CC3 #CBC2DA

Accessibility & contrast

On white

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

On black

5.27
#8A76AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76AC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76AC#FFFFFF#000000##000000
##8A76AC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a76ac;
/* rgb */ color: rgb(138, 118, 172);
/* oklch */ color: oklch(60.5% 0.083 300.9);
Tailwind
colors: {
  custom: {
    50: '#ad9dc5',
    500: '#8a76ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ac;
$custom-light: #ad9dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ac",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 172
  },
  "hsl": {
    "h": 262.222,
    "s": 24.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.08326,
    "h": 300.9
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#8A76AC
secondary
#C2CAB4
accent
#C167A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A76AC

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

Preview Lab → · Contrast checker → · Palette generator →

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