#8D71DE#8D71DE

#8D71DE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.160 H 293.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D71DE
RGBrgb(141, 113, 222)
HSLhsl(255, 62%, 66%)
HSVhsv(255, 49%, 87%)
CMYKcmyk(36.5%, 49.1%, 0%, 12.9%)
CIE-LABlab(54.81, 35.49, -52.08)
CIE-LCHlch(54.81, 63.02, 304.27°)
OKLaboklab(62.49% 0.0626 -0.1472)
OKLCHoklch(62.49% 0.16 293)
XYZxyz(30.0710, 22.7462, 71.8992)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71DE #C2DE71
analogous
#718BDE #8D71DE #C371DE
triadic
#8D71DE #DE8D71 #71DE8D
tetradic
#8D71DE #DE718B #C2DE71 #71DEC3
square
#8D71DE #DE718B #C2DE71 #71DEC3
split-complementary
#8D71DE #DEC371 #8BDE71
monochromatic
#4A28AD #653FD2 #8D71DE #B5A3EA #DDD4F5

Accessibility & contrast

On white

3.78
#8D71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8D71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71DE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71DE#FFFFFF#000000##000000
##8D71DE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E2
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#79879D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d71de;
/* rgb */ color: rgb(141, 113, 222);
/* oklch */ color: oklch(62.5% 0.160 293.0);
Tailwind
colors: {
  custom: {
    50: '#b29ae9',
    500: '#8d71de',
    950: '#000000',
  },
}
SCSS
$custom: #8d71de;
$custom-light: #b29ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71de",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 255.413,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.15994,
    "h": 293
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#8D71DE
secondary
#DEE8C3
accent
#CA1B9D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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