#8A71A5#8A71A5

#8A71A5 is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.2% C 0.082 H 306.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A71A5
RGBrgb(138, 113, 165)
HSLhsl(269, 22%, 55%)
HSVhsv(269, 32%, 65%)
CMYKcmyk(16.4%, 31.5%, 0%, 35.3%)
CIE-LABlab(51.76, 20.31, -24.25)
CIE-LCHlch(51.76, 31.63, 309.95°)
OKLaboklab(59.21% 0.0485 -0.0667)
OKLCHoklch(59.21% 0.082 306)
XYZxyz(23.1766, 19.9303, 38.2160)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71A5 #8CA571
analogous
#7172A5 #8A71A5 #A471A5
triadic
#8A71A5 #A58A71 #71A58A
tetradic
#8A71A5 #A57172 #8CA571 #71A5A4
square
#8A71A5 #A57172 #8CA571 #71A5A4
split-complementary
#8A71A5 #A5A471 #72A571
monochromatic
#4D3C5F #6B5485 #8A71A5 #A996BD #C8BCD4

Accessibility & contrast

On white

4.21
#8A71A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A71A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71A5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71A5#FFFFFF#000000##000000
##8A71A51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA7
Deuteranopia (green-blind)
#6C7CA3
Tritanopia (blue-blind)
#867884
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a71a5;
/* rgb */ color: rgb(138, 113, 165);
/* oklch */ color: oklch(59.2% 0.082 306.0);
Tailwind
colors: {
  custom: {
    50: '#ad9ac0',
    500: '#8a71a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a71a5;
$custom-light: #ad9ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71a5",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 268.846,
    "s": 22.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.08244,
    "h": 306
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#8A71A5
secondary
#B9C4AE
accent
#BF6996
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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