#8A76A2#8A76A2

#8A76A2 is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.1% C 0.069 H 305.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A76A2
RGBrgb(138, 118, 162)
HSLhsl(267, 19%, 55%)
HSVhsv(267, 27%, 64%)
CMYKcmyk(14.8%, 27.2%, 0%, 36.5%)
CIE-LABlab(52.92, 16.68, -20.73)
CIE-LCHlch(52.92, 26.61, 308.83°)
OKLaboklab(60.06% 0.0399 -0.0567)
OKLCHoklch(60.06% 0.069 305.1)
XYZxyz(23.4800, 20.9689, 36.9858)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76A2 #8EA276
analogous
#7678A2 #8A76A2 #A076A2
triadic
#8A76A2 #A28A76 #76A28A
tetradic
#8A76A2 #A27678 #8EA276 #76A2A0
square
#8A76A2 #A27678 #8EA276 #76A2A0
split-complementary
#8A76A2 #A2A076 #78A276
monochromatic
#4D405E #6B5882 #8A76A2 #A99ABB #C8BFD3

Accessibility & contrast

On white

4.04
#8A76A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A76A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76A2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76A2#FFFFFF#000000##000000
##8A76A21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#727EA1
Tritanopia (blue-blind)
#877C85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a76a2;
/* rgb */ color: rgb(138, 118, 162);
/* oklch */ color: oklch(60.1% 0.069 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac9dbd',
    500: '#8a76a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a76a2;
$custom-light: #ac9dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76a2",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 162
  },
  "hsl": {
    "h": 267.273,
    "s": 19.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.06936,
    "h": 305.1
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#8A76A2
secondary
#BBC3B1
accent
#BC6C98
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A76A2

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

Preview Lab → · Contrast checker → · Palette generator →

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