#8E71BD#8E71BD

#8E71BD is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.8% C 0.116 H 300.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E71BD
RGBrgb(142, 113, 189)
HSLhsl(263, 37%, 59%)
HSVhsv(263, 40%, 74%)
CMYKcmyk(24.9%, 40.2%, 0%, 25.9%)
CIE-LABlab(53.21, 27.28, -35.85)
CIE-LCHlch(53.21, 45.05, 307.27°)
OKLaboklab(60.75% 0.059 -0.0999)
OKLCHoklch(60.75% 0.116 300.6)
XYZxyz(26.2437, 21.2351, 50.8504)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71BD #A0BD71
analogous
#717ABD #8E71BD #B471BD
triadic
#8E71BD #BD8E71 #71BD8E
tetradic
#8E71BD #BD717A #A0BD71 #71BDB4
square
#8E71BD #BD717A #A0BD71 #71BDB4
split-complementary
#8E71BD #BDB471 #7ABD71
monochromatic
#52397B #6E4CA4 #8E71BD #AF9BD0 #D0C5E4

Accessibility & contrast

On white

4.00
#8E71BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8E71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71BD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71BD#FFFFFF#000000##000000
##8E71BD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#857E8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e71bd;
/* rgb */ color: rgb(142, 113, 189);
/* oklch */ color: oklch(60.8% 0.116 300.6);
Tailwind
colors: {
  custom: {
    50: '#b09ad1',
    500: '#8e71bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e71bd;
$custom-light: #b09ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71bd",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 262.895,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.11602,
    "h": 300.6
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#8E71BD
secondary
#C8D4B6
accent
#CD5BA1
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8E71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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