#8D71BC#8D71BC

#8D71BC is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.6% C 0.114 H 300.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D71BC
RGBrgb(141, 113, 188)
HSLhsl(262, 36%, 59%)
HSVhsv(262, 40%, 74%)
CMYKcmyk(25%, 39.9%, 0%, 26.3%)
CIE-LABlab(53.06, 26.74, -35.51)
CIE-LCHlch(53.06, 44.45, 306.99°)
OKLaboklab(60.61% 0.0576 -0.0989)
OKLCHoklch(60.61% 0.114 300.2)
XYZxyz(25.9647, 21.1037, 50.2727)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71BC #A0BC71
analogous
#717BBC #8D71BC #B371BC
triadic
#8D71BC #BC8D71 #71BC8D
tetradic
#8D71BC #BC717B #A0BC71 #71BCB3
square
#8D71BC #BC717B #A0BC71 #71BCB3
split-complementary
#8D71BC #BCB371 #7BBC71
monochromatic
#513979 #6D4DA3 #8D71BC #AE9BD0 #D0C4E3

Accessibility & contrast

On white

4.02
#8D71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8D71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71BC#FFFFFF#000000##000000
##8D71BC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBF
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#847E8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d71bc;
/* rgb */ color: rgb(141, 113, 188);
/* oklch */ color: oklch(60.6% 0.114 300.2);
Tailwind
colors: {
  custom: {
    50: '#b09ad0',
    500: '#8d71bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d71bc;
$custom-light: #b09ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71bc",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 262.4,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.11447,
    "h": 300.2
  },
  "luminance": 0.21104
}

Semantic roles & 50–950 ramp

primary
#8D71BC
secondary
#C8D3B6
accent
#CC5CA2
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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