#8A76BB#8A76BB

#8A76BB is a mid, moderate violet. Relative luminance 0.219; OKLCH L 61.2% C 0.104 H 296.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A76BB
RGBrgb(138, 118, 187)
HSLhsl(257, 34%, 60%)
HSVhsv(257, 37%, 73%)
CMYKcmyk(26.2%, 36.9%, 0%, 26.7%)
CIE-LABlab(53.97, 22.67, -33.53)
CIE-LCHlch(53.97, 40.48, 304.06°)
OKLaboklab(61.21% 0.0466 -0.0933)
OKLCHoklch(61.21% 0.104 296.5)
XYZxyz(25.9272, 21.9477, 49.8745)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76BB #A7BB76
analogous
#7685BB #8A76BB #AD76BB
triadic
#8A76BB #BB8A76 #76BB8A
tetradic
#8A76BB #BB7685 #A7BB76 #76BBAD
square
#8A76BB #BB7685 #A7BB76 #76BBAD
split-complementary
#8A76BB #BBAD76 #85BB76
monochromatic
#4E3D7A #6951A3 #8A76BB #AD9FCF #D0C8E4

Accessibility & contrast

On white

3.90
#8A76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76BB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76BB#FFFFFF#000000##000000
##8A76BB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#808290
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a76bb;
/* rgb */ color: rgb(138, 118, 187);
/* oklch */ color: oklch(61.2% 0.104 296.5);
Tailwind
colors: {
  custom: {
    50: '#ad9dcf',
    500: '#8a76bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a76bb;
$custom-light: #ad9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76bb",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 257.391,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.10427,
    "h": 296.5
  },
  "luminance": 0.21948
}

Semantic roles & 50–950 ramp

primary
#8A76BB
secondary
#CCD4B9
accent
#CA5EAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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