#8A71AE#8A71AE

#8A71AE is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.6% C 0.095 H 302.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A71AE
RGBrgb(138, 113, 174)
HSLhsl(265, 27%, 56%)
HSVhsv(265, 35%, 68%)
CMYKcmyk(20.7%, 35.1%, 0%, 31.8%)
CIE-LABlab(52.14, 22.43, -28.89)
CIE-LCHlch(52.14, 36.57, 307.82°)
OKLaboklab(59.63% 0.0508 -0.0799)
OKLCHoklch(59.63% 0.095 302.5)
XYZxyz(24.0247, 20.2695, 42.6829)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71AE #95AE71
analogous
#7177AE #8A71AE #A971AE
triadic
#8A71AE #AE8A71 #71AE8A
tetradic
#8A71AE #AE7177 #95AE71 #71AEA9
square
#8A71AE #AE7177 #95AE71 #71AEA9
split-complementary
#8A71AE #AEA971 #77AE71
monochromatic
#4E3C69 #6B5290 #8A71AE #AA98C4 #CABFDA

Accessibility & contrast

On white

4.16
#8A71AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A71AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71AE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71AE#FFFFFF#000000##000000
##8A71AE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB0
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#847A87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a71ae;
/* rgb */ color: rgb(138, 113, 174);
/* oklch */ color: oklch(59.6% 0.095 302.5);
Tailwind
colors: {
  custom: {
    50: '#ad9ac6',
    500: '#8a71ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a71ae;
$custom-light: #ad9ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71ae",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 264.59,
    "s": 27.354,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.09471,
    "h": 302.5
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#8A71AE
secondary
#C0CAB1
accent
#C4649D
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A71AE

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

Preview Lab → · Contrast checker → · Palette generator →

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