#8A71A0#8A71A0

#8A71A0 is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.0% C 0.076 H 308.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A71A0
RGBrgb(138, 113, 160)
HSLhsl(272, 20%, 54%)
HSVhsv(272, 29%, 63%)
CMYKcmyk(13.8%, 29.4%, 0%, 37.3%)
CIE-LABlab(51.56, 19.17, -21.65)
CIE-LCHlch(51.56, 28.92, 311.52°)
OKLaboklab(58.99% 0.0471 -0.0593)
OKLCHoklch(58.99% 0.076 308.4)
XYZxyz(22.7304, 19.7518, 35.8659)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71A0 #87A071
analogous
#7271A0 #8A71A0 #A0719E
triadic
#8A71A0 #A08A71 #71A08A
tetradic
#8A71A0 #A07271 #87A071 #719EA0
square
#8A71A0 #A07271 #87A071 #719EA0
split-complementary
#8A71A0 #9EA071 #71A072
monochromatic
#4C3C5A #6B557F #8A71A0 #A896B9 #C6BAD1

Accessibility & contrast

On white

4.24
#8A71A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A71A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71A0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71A0#FFFFFF#000000##000000
##8A71A01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697AA2
Deuteranopia (green-blind)
#6E7B9F
Tritanopia (blue-blind)
#877782
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a71a0;
/* rgb */ color: rgb(138, 113, 160);
/* oklch */ color: oklch(59.0% 0.076 308.4);
Tailwind
colors: {
  custom: {
    50: '#ac9abc',
    500: '#8a71a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a71a0;
$custom-light: #ac9abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71a0",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 271.915,
    "s": 19.831,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.07569,
    "h": 308.4
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#8A71A0
secondary
#B6C0AC
accent
#BC6B91
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A71A0

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

Preview Lab → · Contrast checker → · Palette generator →

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