#8D71B7#8D71B7

#8D71B7 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.108 H 301.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D71B7
RGBrgb(141, 113, 183)
HSLhsl(264, 33%, 58%)
HSVhsv(264, 38%, 72%)
CMYKcmyk(23%, 38.3%, 0%, 28.2%)
CIE-LABlab(52.83, 25.52, -32.99)
CIE-LCHlch(52.83, 41.71, 307.72°)
OKLaboklab(60.35% 0.0566 -0.0917)
OKLCHoklch(60.35% 0.108 301.7)
XYZxyz(25.4350, 20.8918, 47.4831)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71B7 #9BB771
analogous
#7178B7 #8D71B7 #B071B7
triadic
#8D71B7 #B78D71 #71B78D
tetradic
#8D71B7 #B77178 #9BB771 #71B7B0
square
#8D71B7 #B77178 #9BB771 #71B7B0
split-complementary
#8D71B7 #B7B071 #78B771
monochromatic
#513A73 #6E4F9C #8D71B7 #AE9ACC #CEC2E0

Accessibility & contrast

On white

4.06
#8D71B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8D71B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71B7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71B7#FFFFFF#000000##000000
##8D71B71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBA
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#867C8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d71b7;
/* rgb */ color: rgb(141, 113, 183);
/* oklch */ color: oklch(60.4% 0.108 301.7);
Tailwind
colors: {
  custom: {
    50: '#af9acd',
    500: '#8d71b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d71b7;
$custom-light: #af9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71b7",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 264,
    "s": 32.71,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.10771,
    "h": 301.7
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#8D71B7
secondary
#C5D0B4
accent
#C95F9E
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D71B7

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

Preview Lab → · Contrast checker → · Palette generator →

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