#8A75A6#8A75A6

#8A75A6 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.0% C 0.077 H 303.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A75A6
RGBrgb(138, 117, 166)
HSLhsl(266, 22%, 55%)
HSVhsv(266, 30%, 65%)
CMYKcmyk(16.9%, 29.5%, 0%, 34.9%)
CIE-LABlab(52.82, 18.19, -23.20)
CIE-LCHlch(52.82, 29.48, 308.09°)
OKLaboklab(60.03% 0.0427 -0.0637)
OKLCHoklch(60.03% 0.077 303.8)
XYZxyz(23.7241, 20.8791, 38.8492)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75A6 #91A675
analogous
#7578A6 #8A75A6 #A275A6
triadic
#8A75A6 #A68A75 #75A68A
tetradic
#8A75A6 #A67578 #91A675 #75A6A2
square
#8A75A6 #A67578 #91A675 #75A6A2
split-complementary
#8A75A6 #A6A275 #78A675
monochromatic
#4E3F62 #6B5787 #8A75A6 #AA9ABE #C9BFD6

Accessibility & contrast

On white

4.06
#8A75A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8A75A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75A6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75A6#FFFFFF#000000##000000
##8A75A61.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA8
Deuteranopia (green-blind)
#6F7EA5
Tritanopia (blue-blind)
#867C86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a75a6;
/* rgb */ color: rgb(138, 117, 166);
/* oklch */ color: oklch(60.0% 0.077 303.8);
Tailwind
colors: {
  custom: {
    50: '#ac9dc0',
    500: '#8a75a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a75a6;
$custom-light: #ac9dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75a6",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 166
  },
  "hsl": {
    "h": 265.714,
    "s": 21.586,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60034,
    "c": 0.07668,
    "h": 303.8
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#8A75A6
secondary
#BDC6B1
accent
#BE6A9A
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A75A6

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

Preview Lab → · Contrast checker → · Palette generator →

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