#8D71E8#8D71E8

#8D71E8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.173 H 291.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D71E8
RGBrgb(141, 113, 232)
HSLhsl(254, 72%, 68%)
HSVhsv(254, 51%, 91%)
CMYKcmyk(39.2%, 51.3%, 0%, 9%)
CIE-LABlab(55.38, 38.17, -56.78)
CIE-LCHlch(55.38, 68.42, 303.91°)
OKLaboklab(63.1% 0.0634 -0.161)
OKLCHoklch(63.1% 0.173 291.5)
XYZxyz(31.4512, 23.2983, 79.1682)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71E8 #CCE871
analogous
#7190E8 #8D71E8 #C971E8
triadic
#8D71E8 #E88D71 #71E88D
tetradic
#8D71E8 #E87190 #CCE871 #71E8C9
square
#8D71E8 #E87190 #CCE871 #71E8C9
split-complementary
#8D71E8 #E8C971 #90E871
monochromatic
#451FC0 #633CDF #8D71E8 #B7A6F1 #E2DAF9

Accessibility & contrast

On white

3.71
#8D71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8D71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71E8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71E8#FFFFFF#000000##000000
##8D71E81.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87EC
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#7589A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d71e8;
/* rgb */ color: rgb(141, 113, 232);
/* oklch */ color: oklch(63.1% 0.173 291.5);
Tailwind
colors: {
  custom: {
    50: '#b39af0',
    500: '#8d71e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d71e8;
$custom-light: #b39af0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71e8",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 254.118,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.17299,
    "h": 291.5
  },
  "luminance": 0.23299
}

Semantic roles & 50–950 ramp

primary
#8D71E8
secondary
#E4EDC8
accent
#D411A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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