#8C71EA#8C71EA

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

Color values

HEX#8C71EA
RGBrgb(140, 113, 234)
HSLhsl(253, 74%, 68%)
HSVhsv(253, 52%, 92%)
CMYKcmyk(40.2%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.41, 38.48, -57.86)
CIE-LCHlch(55.41, 69.48, 303.63°)
OKLaboklab(63.13% 0.0623 -0.1642)
OKLCHoklch(63.13% 0.176 290.8)
XYZxyz(31.5676, 23.3253, 80.6649)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C71EA #CFEA71
analogous
#7193EA #8C71EA #C871EA
triadic
#8C71EA #EA8C71 #71EA8C
tetradic
#8C71EA #EA7193 #CFEA71 #71EAC8
square
#8C71EA #EA7193 #CFEA71 #71EAC8
split-complementary
#8C71EA #EAC871 #93EA71
monochromatic
#421DC4 #613CE2 #8C71EA #B7A6F2 #E2DCFA

Accessibility & contrast

On white

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

On black

5.67
#8C71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C71EA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C71EA#FFFFFF#000000##000000
##8C71EA1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#728AA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8c71ea;
/* rgb */ color: rgb(140, 113, 234);
/* oklch */ color: oklch(63.1% 0.176 290.8);
Tailwind
colors: {
  custom: {
    50: '#b29af1',
    500: '#8c71ea',
    950: '#000000',
  },
}
SCSS
$custom: #8c71ea;
$custom-light: #b29af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c71ea",
  "rgb": {
    "r": 140,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 253.388,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63133,
    "c": 0.17558,
    "h": 290.8
  },
  "luminance": 0.23326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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