#8D71EC#8D71EC

#8D71EC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.178 H 290.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8D71EC
RGBrgb(141, 113, 236)
HSLhsl(254, 76%, 68%)
HSVhsv(254, 52%, 93%)
CMYKcmyk(40.3%, 52.1%, 0%, 7.5%)
CIE-LABlab(55.61, 39.26, -58.64)
CIE-LCHlch(55.61, 70.56, 303.80°)
OKLaboklab(63.35% 0.0636 -0.1664)
OKLCHoklch(63.35% 0.178 290.9)
XYZxyz(32.0258, 23.5282, 82.1946)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71EC #D0EC71
analogous
#7192EC #8D71EC #CB71EC
triadic
#8D71EC #EC8D71 #71EC8D
tetradic
#8D71EC #EC7192 #D0EC71 #71ECCB
square
#8D71EC #EC7192 #D0EC71 #71ECCB
split-complementary
#8D71EC #ECCB71 #92EC71
monochromatic
#421BC8 #623BE5 #8D71EC #B8A7F3 #E4DDFA

Accessibility & contrast

On white

3.68
#8D71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8D71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71EC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71EC#FFFFFF#000000##000000
##8D71EC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#3E83E9
Tritanopia (blue-blind)
#738BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d71ec;
/* rgb */ color: rgb(141, 113, 236);
/* oklch */ color: oklch(63.3% 0.178 290.9);
Tailwind
colors: {
  custom: {
    50: '#b39af3',
    500: '#8d71ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d71ec;
$custom-light: #b39af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71ec",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 253.659,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.17817,
    "h": 290.9
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

primary
#8D71EC
secondary
#E6EFCA
accent
#D90DAA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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