#8D71EB#8D71EB

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

Color values

HEX#8D71EB
RGBrgb(141, 113, 235)
HSLhsl(254, 75%, 68%)
HSVhsv(254, 52%, 92%)
CMYKcmyk(40%, 51.9%, 0%, 7.8%)
CIE-LABlab(55.55, 38.98, -58.17)
CIE-LCHlch(55.55, 70.03, 303.83°)
OKLaboklab(63.28% 0.0636 -0.1651)
OKLCHoklch(63.28% 0.177 291.1)
XYZxyz(31.8809, 23.4702, 81.4316)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71EB #CFEB71
analogous
#7192EB #8D71EB #CA71EB
triadic
#8D71EB #EB8D71 #71EB8D
tetradic
#8D71EB #EB7192 #CFEB71 #71EBCA
square
#8D71EB #EB7192 #CFEB71 #71EBCA
split-complementary
#8D71EB #EBCA71 #92EB71
monochromatic
#431CC6 #623BE3 #8D71EB #B8A7F3 #E3DCFA

Accessibility & contrast

On white

3.69
#8D71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8D71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71EB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71EB#FFFFFF#000000##000000
##8D71EB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#748AA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d71eb;
/* rgb */ color: rgb(141, 113, 235);
/* oklch */ color: oklch(63.3% 0.177 291.1);
Tailwind
colors: {
  custom: {
    50: '#b39af2',
    500: '#8d71eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d71eb;
$custom-light: #b39af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71eb",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 253.77,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.17688,
    "h": 291.1
  },
  "luminance": 0.23471
}

Semantic roles & 50–950 ramp

primary
#8D71EB
secondary
#E6EEC9
accent
#D70EA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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