#8E71DD#8E71DD

#8E71DD is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.5% C 0.159 H 293.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8E71DD
RGBrgb(142, 113, 221)
HSLhsl(256, 61%, 65%)
HSVhsv(256, 49%, 87%)
CMYKcmyk(35.7%, 48.9%, 0%, 13.3%)
CIE-LABlab(54.85, 35.47, -51.45)
CIE-LCHlch(54.85, 62.49, 304.58°)
OKLaboklab(62.52% 0.0637 -0.1453)
OKLCHoklch(62.52% 0.159 293.7)
XYZxyz(30.1082, 22.7809, 71.2034)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71DD #C0DD71
analogous
#718ADD #8E71DD #C471DD
triadic
#8E71DD #DD8E71 #71DD8E
tetradic
#8E71DD #DD718A #C0DD71 #71DDC4
square
#8E71DD #DD718A #C0DD71 #71DDC4
split-complementary
#8E71DD #DDC471 #8ADD71
monochromatic
#4C29AB #6740D1 #8E71DD #B5A2E9 #DDD4F5

Accessibility & contrast

On white

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

On black

5.56
#8E71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71DD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71DD#FFFFFF#000000##000000
##8E71DD1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E1
Deuteranopia (green-blind)
#4E81DA
Tritanopia (blue-blind)
#7B869D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e71dd;
/* rgb */ color: rgb(142, 113, 221);
/* oklch */ color: oklch(62.5% 0.159 293.7);
Tailwind
colors: {
  custom: {
    50: '#b39ae8',
    500: '#8e71dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e71dd;
$custom-light: #b39ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71dd",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 256.111,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.15868,
    "h": 293.7
  },
  "luminance": 0.22781
}

Semantic roles & 50–950 ramp

primary
#8E71DD
secondary
#DDE7C3
accent
#C91C9B
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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