#8D71BA#8D71BA

#8D71BA is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.5% C 0.112 H 300.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D71BA
RGBrgb(141, 113, 186)
HSLhsl(263, 35%, 59%)
HSVhsv(263, 39%, 73%)
CMYKcmyk(24.2%, 39.2%, 0%, 27.1%)
CIE-LABlab(52.97, 26.25, -34.50)
CIE-LCHlch(52.97, 43.35, 307.27°)
OKLaboklab(60.5% 0.0572 -0.096)
OKLCHoklch(60.5% 0.112 300.8)
XYZxyz(25.7506, 21.0181, 49.1451)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71BA #9EBA71
analogous
#7179BA #8D71BA #B171BA
triadic
#8D71BA #BA8D71 #71BA8D
tetradic
#8D71BA #BA7179 #9EBA71 #71BAB1
square
#8D71BA #BA7179 #9EBA71 #71BAB1
split-complementary
#8D71BA #BAB171 #79BA71
monochromatic
#513A77 #6D4EA0 #8D71BA #AE9ACE #CFC3E2

Accessibility & contrast

On white

4.04
#8D71BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8D71BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71BA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71BA#FFFFFF#000000##000000
##8D71BA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBD
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#857D8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d71ba;
/* rgb */ color: rgb(141, 113, 186);
/* oklch */ color: oklch(60.5% 0.112 300.8);
Tailwind
colors: {
  custom: {
    50: '#b09acf',
    500: '#8d71ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d71ba;
$custom-light: #b09acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71ba",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 263.014,
    "s": 34.597,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.11177,
    "h": 300.8
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#8D71BA
secondary
#C7D2B5
accent
#CB5DA1
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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