#8A76BD#8A76BD

#8A76BD is a mid, moderate violet. Relative luminance 0.220; OKLCH L 61.3% C 0.107 H 296.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A76BD
RGBrgb(138, 118, 189)
HSLhsl(257, 35%, 60%)
HSVhsv(257, 38%, 74%)
CMYKcmyk(27%, 37.6%, 0%, 25.9%)
CIE-LABlab(54.06, 23.17, -34.53)
CIE-LCHlch(54.06, 41.59, 303.86°)
OKLaboklab(61.31% 0.047 -0.0962)
OKLCHoklch(61.31% 0.107 296.1)
XYZxyz(26.1428, 22.0340, 51.0099)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76BD #A9BD76
analogous
#7686BD #8A76BD #AD76BD
triadic
#8A76BD #BD8A76 #76BD8A
tetradic
#8A76BD #BD7686 #A9BD76 #76BDAD
square
#8A76BD #BD7686 #A9BD76 #76BDAD
split-complementary
#8A76BD #BDAD76 #86BD76
monochromatic
#4E3C7D #6850A6 #8A76BD #AD9FD1 #D1C9E5

Accessibility & contrast

On white

3.88
#8A76BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A76BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76BD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76BD#FFFFFF#000000##000000
##8A76BD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C0
Deuteranopia (green-blind)
#6680BB
Tritanopia (blue-blind)
#808291
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a76bd;
/* rgb */ color: rgb(138, 118, 189);
/* oklch */ color: oklch(61.3% 0.107 296.1);
Tailwind
colors: {
  custom: {
    50: '#ad9dd1',
    500: '#8a76bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a76bd;
$custom-light: #ad9dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76bd",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 256.901,
    "s": 34.975,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61313,
    "c": 0.10706,
    "h": 296.1
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#8A76BD
secondary
#CDD5BA
accent
#AE388D
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A76BD

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

Preview Lab → · Contrast checker → · Palette generator →

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