#8A76A7#8A76A7

#8A76A7 is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.3% C 0.076 H 302.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A76A7
RGBrgb(138, 118, 167)
HSLhsl(264, 22%, 56%)
HSVhsv(264, 29%, 65%)
CMYKcmyk(17.4%, 29.3%, 0%, 34.5%)
CIE-LABlab(53.11, 17.83, -23.33)
CIE-LCHlch(53.11, 29.36, 307.40°)
OKLaboklab(60.28% 0.0414 -0.0641)
OKLCHoklch(60.28% 0.076 302.9)
XYZxyz(23.9333, 21.1502, 39.3733)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76A7 #93A776
analogous
#767AA7 #8A76A7 #A276A7
triadic
#8A76A7 #A78A76 #76A78A
tetradic
#8A76A7 #A7767A #93A776 #76A7A2
square
#8A76A7 #A7767A #93A776 #76A7A2
split-complementary
#8A76A7 #A7A276 #7AA776
monochromatic
#4E4063 #6B5888 #8A76A7 #AA9BBF #CAC1D7

Accessibility & contrast

On white

4.02
#8A76A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A76A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76A7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76A7#FFFFFF#000000##000000
##8A76A71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#707FA6
Tritanopia (blue-blind)
#857D87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a76a7;
/* rgb */ color: rgb(138, 118, 167);
/* oklch */ color: oklch(60.3% 0.076 302.9);
Tailwind
colors: {
  custom: {
    50: '#ac9dc1',
    500: '#8a76a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a76a7;
$custom-light: #ac9dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76a7",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 167
  },
  "hsl": {
    "h": 264.49,
    "s": 21.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.07629,
    "h": 302.9
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#8A76A7
secondary
#BEC7B2
accent
#BE699C
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A76A7

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

Preview Lab → · Contrast checker → · Palette generator →

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