#8D71BE#8D71BE

#8D71BE is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.7% C 0.117 H 299.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D71BE
RGBrgb(141, 113, 190)
HSLhsl(262, 37%, 59%)
HSVhsv(262, 41%, 75%)
CMYKcmyk(25.8%, 40.5%, 0%, 25.5%)
CIE-LABlab(53.16, 27.24, -36.51)
CIE-LCHlch(53.16, 45.55, 306.73°)
OKLaboklab(60.71% 0.058 -0.1018)
OKLCHoklch(60.71% 0.117 299.7)
XYZxyz(26.1818, 21.1905, 51.4160)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71BE #A2BE71
analogous
#717CBE #8D71BE #B471BE
triadic
#8D71BE #BE8D71 #71BE8D
tetradic
#8D71BE #BE717C #A2BE71 #71BEB4
square
#8D71BE #BE717C #A2BE71 #71BEB4
split-complementary
#8D71BE #BEB471 #7CBE71
monochromatic
#51397C #6D4CA6 #8D71BE #AF9BD1 #D0C5E4

Accessibility & contrast

On white

4.01
#8D71BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8D71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71BE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71BE#FFFFFF#000000##000000
##8D71BE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#847E8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d71be;
/* rgb */ color: rgb(141, 113, 190);
/* oklch */ color: oklch(60.7% 0.117 299.7);
Tailwind
colors: {
  custom: {
    50: '#b09ad2',
    500: '#8d71be',
    950: '#000000',
  },
}
SCSS
$custom: #8d71be;
$custom-light: #b09ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71be",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 261.818,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.11717,
    "h": 299.7
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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