#8A76BC#8A76BC

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

Color values

HEX#8A76BC
RGBrgb(138, 118, 188)
HSLhsl(257, 34%, 60%)
HSVhsv(257, 37%, 74%)
CMYKcmyk(26.6%, 37.2%, 0%, 26.3%)
CIE-LABlab(54.02, 22.92, -34.03)
CIE-LCHlch(54.02, 41.03, 303.96°)
OKLaboklab(61.26% 0.0468 -0.0947)
OKLCHoklch(61.26% 0.106 296.3)
XYZxyz(26.0346, 21.9907, 50.4402)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76BC #A8BC76
analogous
#7685BC #8A76BC #AD76BC
triadic
#8A76BC #BC8A76 #76BC8A
tetradic
#8A76BC #BC7685 #A8BC76 #76BCAD
square
#8A76BC #BC7685 #A8BC76 #76BCAD
split-complementary
#8A76BC #BCAD76 #85BC76
monochromatic
#4E3C7B #6850A4 #8A76BC #AD9FD0 #D0C8E4

Accessibility & contrast

On white

3.89
#8A76BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A76BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76BC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76BC#FFFFFF#000000##000000
##8A76BC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#808290
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a76bc;
/* rgb */ color: rgb(138, 118, 188);
/* oklch */ color: oklch(61.3% 0.106 296.3);
Tailwind
colors: {
  custom: {
    50: '#ad9dd0',
    500: '#8a76bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a76bc;
$custom-light: #ad9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76bc",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 257.143,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.10567,
    "h": 296.3
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#8A76BC
secondary
#CDD4B9
accent
#CA5DAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A76BC

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

Preview Lab → · Contrast checker → · Palette generator →

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