#8D71AE#8D71AE

#8D71AE is a mid, moderate violet. Relative luminance 0.205; OKLCH L 59.9% C 0.096 H 304.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D71AE
RGBrgb(141, 113, 174)
HSLhsl(268, 27%, 56%)
HSVhsv(268, 35%, 68%)
CMYKcmyk(19%, 35.1%, 0%, 31.8%)
CIE-LABlab(52.43, 23.37, -28.42)
CIE-LCHlch(52.43, 36.79, 309.44°)
OKLaboklab(59.92% 0.0545 -0.0785)
OKLCHoklch(59.92% 0.096 304.8)
XYZxyz(24.5281, 20.5291, 42.7065)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71AE #92AE71
analogous
#7174AE #8D71AE #AC71AE
triadic
#8D71AE #AE8D71 #71AE8D
tetradic
#8D71AE #AE7174 #92AE71 #71AEAC
square
#8D71AE #AE7174 #92AE71 #71AEAC
split-complementary
#8D71AE #AEAC71 #74AE71
monochromatic
#503C69 #6E5290 #8D71AE #AC98C4 #CCBFDA

Accessibility & contrast

On white

4.11
#8D71AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8D71AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71AE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71AE#FFFFFF#000000##000000
##8D71AE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CB0
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#887A87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d71ae;
/* rgb */ color: rgb(141, 113, 174);
/* oklch */ color: oklch(59.9% 0.096 304.8);
Tailwind
colors: {
  custom: {
    50: '#af9ac6',
    500: '#8d71ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d71ae;
$custom-light: #af9ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71ae",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 267.541,
    "s": 27.354,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.09556,
    "h": 304.8
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#8D71AE
secondary
#BECAB1
accent
#C46498
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D71AE

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

Preview Lab → · Contrast checker → · Palette generator →

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