#8D71BB#8D71BB

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

Color values

HEX#8D71BB
RGBrgb(141, 113, 187)
HSLhsl(263, 35%, 59%)
HSVhsv(263, 40%, 73%)
CMYKcmyk(24.6%, 39.6%, 0%, 26.7%)
CIE-LABlab(53.02, 26.50, -35.01)
CIE-LCHlch(53.02, 43.90, 307.12°)
OKLaboklab(60.55% 0.0574 -0.0975)
OKLCHoklch(60.55% 0.113 300.5)
XYZxyz(25.8573, 21.0607, 49.7070)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71BB #9FBB71
analogous
#717ABB #8D71BB #B271BB
triadic
#8D71BB #BB8D71 #71BB8D
tetradic
#8D71BB #BB717A #9FBB71 #71BBB2
square
#8D71BB #BB717A #9FBB71 #71BBB2
split-complementary
#8D71BB #BBB271 #7ABB71
monochromatic
#513A78 #6D4DA1 #8D71BB #AE9ACF #CFC4E3

Accessibility & contrast

On white

4.03
#8D71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71BB#FFFFFF#000000##000000
##8D71BB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#857D8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d71bb;
/* rgb */ color: rgb(141, 113, 187);
/* oklch */ color: oklch(60.6% 0.113 300.5);
Tailwind
colors: {
  custom: {
    50: '#b09ad0',
    500: '#8d71bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d71bb;
$custom-light: #b09ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71bb",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 262.703,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.11312,
    "h": 300.5
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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