#8A76AF#8A76AF

#8A76AF is a mid, moderate violet. Relative luminance 0.215; OKLCH L 60.6% C 0.087 H 299.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A76AF
RGBrgb(138, 118, 175)
HSLhsl(261, 26%, 57%)
HSVhsv(261, 33%, 69%)
CMYKcmyk(21.1%, 32.6%, 0%, 31.4%)
CIE-LABlab(53.44, 19.73, -27.44)
CIE-LCHlch(53.44, 33.80, 305.71°)
OKLaboklab(60.64% 0.0436 -0.0758)
OKLCHoklch(60.64% 0.087 299.9)
XYZxyz(24.6959, 21.4552, 43.3893)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76AF #9BAF76
analogous
#767EAF #8A76AF #A776AF
triadic
#8A76AF #AF8A76 #76AF8A
tetradic
#8A76AF #AF767E #9BAF76 #76AFA7
square
#8A76AF #AF767E #9BAF76 #76AFA7
split-complementary
#8A76AF #AFA776 #7EAF76
monochromatic
#4F3F6C #6B5592 #8A76AF #AB9DC6 #CCC3DC

Accessibility & contrast

On white

3.97
#8A76AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8A76AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76AF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76AF#FFFFFF#000000##000000
##8A76AF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B1
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#837F8B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a76af;
/* rgb */ color: rgb(138, 118, 175);
/* oklch */ color: oklch(60.6% 0.087 299.9);
Tailwind
colors: {
  custom: {
    50: '#ad9dc7',
    500: '#8a76af',
    950: '#000000',
  },
}
SCSS
$custom: #8a76af;
$custom-light: #ad9dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76af",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 175
  },
  "hsl": {
    "h": 261.053,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.08747,
    "h": 299.9
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#8A76AF
secondary
#C4CCB5
accent
#C365A2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A76AF

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

Preview Lab → · Contrast checker → · Palette generator →

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