#8D71AF#8D71AF

#8D71AF is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.0% C 0.097 H 304.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D71AF
RGBrgb(141, 113, 175)
HSLhsl(267, 28%, 56%)
HSVhsv(267, 35%, 69%)
CMYKcmyk(19.4%, 35.4%, 0%, 31.4%)
CIE-LABlab(52.47, 23.61, -28.93)
CIE-LCHlch(52.47, 37.34, 309.22°)
OKLaboklab(59.96% 0.0547 -0.08)
OKLCHoklch(59.96% 0.097 304.4)
XYZxyz(24.6259, 20.5682, 43.2218)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71AF #93AF71
analogous
#7174AF #8D71AF #AC71AF
triadic
#8D71AF #AF8D71 #71AF8D
tetradic
#8D71AF #AF7174 #93AF71 #71AFAC
square
#8D71AF #AF7174 #93AF71 #71AFAC
split-complementary
#8D71AF #AFAC71 #74AF71
monochromatic
#513C6A #6E5291 #8D71AF #AC98C5 #CCBFDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D71AF#FFFFFF#000000##000000
##8D71AF1.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)
#647CB1
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#887A88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d71af;
/* rgb */ color: rgb(141, 113, 175);
/* oklch */ color: oklch(60.0% 0.097 304.4);
Tailwind
colors: {
  custom: {
    50: '#af9ac7',
    500: '#8d71af',
    950: '#000000',
  },
}
SCSS
$custom: #8d71af;
$custom-light: #af9ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71af",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 267.097,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.09689,
    "h": 304.4
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#8D71AF
secondary
#BFCBB1
accent
#C46499
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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