#8A76BA#8A76BA

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

Color values

HEX#8A76BA
RGBrgb(138, 118, 186)
HSLhsl(258, 33%, 60%)
HSVhsv(258, 37%, 73%)
CMYKcmyk(25.8%, 36.6%, 0%, 27.1%)
CIE-LABlab(53.93, 22.42, -33.03)
CIE-LCHlch(53.93, 39.92, 304.17°)
OKLaboklab(61.16% 0.0464 -0.0918)
OKLCHoklch(61.16% 0.103 296.8)
XYZxyz(25.8205, 21.9051, 49.3126)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76BA #A6BA76
analogous
#7684BA #8A76BA #AC76BA
triadic
#8A76BA #BA8A76 #76BA8A
tetradic
#8A76BA #BA7684 #A6BA76 #76BAAC
square
#8A76BA #BA7684 #A6BA76 #76BAAC
split-complementary
#8A76BA #BAAC76 #84BA76
monochromatic
#4E3D79 #6951A1 #8A76BA #AD9FCE #D0C7E3

Accessibility & contrast

On white

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

On black

5.38
#8A76BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76BA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76BA#FFFFFF#000000##000000
##8A76BA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6581BD
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#80818F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a76ba;
/* rgb */ color: rgb(138, 118, 186);
/* oklch */ color: oklch(61.2% 0.103 296.8);
Tailwind
colors: {
  custom: {
    50: '#ad9dcf',
    500: '#8a76ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ba;
$custom-light: #ad9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ba",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 257.647,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.10287,
    "h": 296.8
  },
  "luminance": 0.21905
}

Semantic roles & 50–950 ramp

primary
#8A76BA
secondary
#CBD3B9
accent
#C95FAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A76BA

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

Preview Lab → · Contrast checker → · Palette generator →

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