#8A76BF#8A76BF

#8A76BF is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.4% C 0.110 H 295.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A76BF
RGBrgb(138, 118, 191)
HSLhsl(256, 36%, 61%)
HSVhsv(256, 38%, 75%)
CMYKcmyk(27.7%, 38.2%, 0%, 25.1%)
CIE-LABlab(54.16, 23.68, -35.53)
CIE-LCHlch(54.16, 42.70, 303.68°)
OKLaboklab(61.41% 0.0475 -0.0991)
OKLCHoklch(61.41% 0.11 295.6)
XYZxyz(26.3614, 22.1214, 52.1611)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76BF #ABBF76
analogous
#7686BF #8A76BF #AE76BF
triadic
#8A76BF #BF8A76 #76BF8A
tetradic
#8A76BF #BF7686 #ABBF76 #76BFAE
square
#8A76BF #BF7686 #ABBF76 #76BFAE
split-complementary
#8A76BF #BFAE76 #86BF76
monochromatic
#4E3B7F #684FA9 #8A76BF #AEA0D2 #D1C9E6

Accessibility & contrast

On white

3.87
#8A76BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A76BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76BF#FFFFFF#000000##000000
##8A76BF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#6581BD
Tritanopia (blue-blind)
#7F8391
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a76bf;
/* rgb */ color: rgb(138, 118, 191);
/* oklch */ color: oklch(61.4% 0.110 295.6);
Tailwind
colors: {
  custom: {
    50: '#ae9dd2',
    500: '#8a76bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a76bf;
$custom-light: #ae9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76bf",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 256.438,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.10985,
    "h": 295.6
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#8A76BF
secondary
#CFD6BB
accent
#AF368E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A76BF

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

Preview Lab → · Contrast checker → · Palette generator →

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