#8A76AA#8A76AA

#8A76AA is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.4% C 0.080 H 301.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A76AA
RGBrgb(138, 118, 170)
HSLhsl(263, 23%, 56%)
HSVhsv(263, 31%, 67%)
CMYKcmyk(18.8%, 30.6%, 0%, 33.3%)
CIE-LABlab(53.24, 18.54, -24.88)
CIE-LCHlch(53.24, 31.02, 306.69°)
OKLaboklab(60.41% 0.0423 -0.0685)
OKLCHoklch(60.41% 0.08 301.7)
XYZxyz(24.2139, 21.2624, 40.8508)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76AA #96AA76
analogous
#767CAA #8A76AA #A476AA
triadic
#8A76AA #AA8A76 #76AA8A
tetradic
#8A76AA #AA767C #96AA76 #76AAA4
square
#8A76AA #AA767C #96AA76 #76AAA4
split-complementary
#8A76AA #AAA476 #7CAA76
monochromatic
#4E3F66 #6B578C #8A76AA #AA9CC1 #CBC2D9

Accessibility & contrast

On white

4.00
#8A76AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A76AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76AA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76AA#FFFFFF#000000##000000
##8A76AA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAC
Deuteranopia (green-blind)
#6F7FA9
Tritanopia (blue-blind)
#857E89
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a76aa;
/* rgb */ color: rgb(138, 118, 170);
/* oklch */ color: oklch(60.4% 0.080 301.7);
Tailwind
colors: {
  custom: {
    50: '#ad9dc3',
    500: '#8a76aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a76aa;
$custom-light: #ad9dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76aa",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 170
  },
  "hsl": {
    "h": 263.077,
    "s": 23.423,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.08048,
    "h": 301.7
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#8A76AA
secondary
#C0C9B3
accent
#C0689E
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A76AA

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

Preview Lab → · Contrast checker → · Palette generator →

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