#8D71BD#8D71BD

#8D71BD is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.7% C 0.116 H 299.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D71BD
RGBrgb(141, 113, 189)
HSLhsl(262, 37%, 59%)
HSVhsv(262, 40%, 74%)
CMYKcmyk(25.4%, 40.2%, 0%, 25.9%)
CIE-LABlab(53.11, 26.99, -36.01)
CIE-LCHlch(53.11, 45.00, 306.85°)
OKLaboklab(60.66% 0.0578 -0.1004)
OKLCHoklch(60.66% 0.116 299.9)
XYZxyz(26.0729, 21.1470, 50.8424)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71BD #A1BD71
analogous
#717BBD #8D71BD #B371BD
triadic
#8D71BD #BD8D71 #71BD8D
tetradic
#8D71BD #BD717B #A1BD71 #71BDB3
square
#8D71BD #BD717B #A1BD71 #71BDB3
split-complementary
#8D71BD #BDB371 #7BBD71
monochromatic
#51397B #6D4CA4 #8D71BD #AF9BD0 #D0C5E4

Accessibility & contrast

On white

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

On black

5.23
#8D71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71BD#FFFFFF#000000##000000
##8D71BD1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC0
Deuteranopia (green-blind)
#637EBB
Tritanopia (blue-blind)
#847E8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d71bd;
/* rgb */ color: rgb(141, 113, 189);
/* oklch */ color: oklch(60.7% 0.116 299.9);
Tailwind
colors: {
  custom: {
    50: '#b09ad1',
    500: '#8d71bd',
    950: '#000000',
  },
}
SCSS
$custom: #8d71bd;
$custom-light: #b09ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71bd",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 262.105,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.11581,
    "h": 299.9
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#8D71BD
secondary
#C9D4B6
accent
#CD5BA3
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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