#8D71AC#8D71AC

#8D71AC is a mid, moderate violet. Relative luminance 0.205; OKLCH L 59.8% C 0.093 H 305.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D71AC
RGBrgb(141, 113, 172)
HSLhsl(268, 26%, 56%)
HSVhsv(268, 34%, 67%)
CMYKcmyk(18%, 34.3%, 0%, 32.5%)
CIE-LABlab(52.34, 22.90, -27.39)
CIE-LCHlch(52.34, 35.71, 309.90°)
OKLaboklab(59.82% 0.054 -0.0756)
OKLCHoklch(59.82% 0.093 305.5)
XYZxyz(24.3346, 20.4517, 41.6873)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71AC #90AC71
analogous
#7172AC #8D71AC #AA71AC
triadic
#8D71AC #AC8D71 #71AC8D
tetradic
#8D71AC #AC7172 #90AC71 #71ACAA
square
#8D71AC #AC7172 #90AC71 #71ACAA
split-complementary
#8D71AC #ACAA71 #72AC71
monochromatic
#503C67 #6E538D #8D71AC #AC98C3 #CBBED9

Accessibility & contrast

On white

4.13
#8D71AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D71AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71AC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71AC#FFFFFF#000000##000000
##8D71AC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#887A87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d71ac;
/* rgb */ color: rgb(141, 113, 172);
/* oklch */ color: oklch(59.8% 0.093 305.5);
Tailwind
colors: {
  custom: {
    50: '#af9ac5',
    500: '#8d71ac',
    950: '#000000',
  },
}
SCSS
$custom: #8d71ac;
$custom-light: #af9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71ac",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 268.475,
    "s": 26.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.09286,
    "h": 305.5
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8D71AC
secondary
#BDC9B0
accent
#C36596
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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