#8A71EA#8A71EA

#8A71EA is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.0% C 0.176 H 289.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A71EA
RGBrgb(138, 113, 234)
HSLhsl(252, 74%, 68%)
HSVhsv(252, 52%, 92%)
CMYKcmyk(41%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.23, 38.01, -58.15)
CIE-LCHlch(55.23, 69.47, 303.17°)
OKLaboklab(62.96% 0.0598 -0.1651)
OKLCHoklch(62.96% 0.176 289.9)
XYZxyz(31.2335, 23.1530, 80.6493)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71EA #D1EA71
analogous
#7194EA #8A71EA #C771EA
triadic
#8A71EA #EA8A71 #71EA8A
tetradic
#8A71EA #EA7194 #D1EA71 #71EAC7
square
#8A71EA #EA7194 #D1EA71 #71EAC7
split-complementary
#8A71EA #EAC771 #94EA71
monochromatic
#3F1DC4 #5E3CE2 #8A71EA #B6A6F2 #E2DCFA

Accessibility & contrast

On white

3.73
#8A71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71EA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71EA#FFFFFF#000000##000000
##8A71EA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#3E81E7
Tritanopia (blue-blind)
#6F8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a71ea;
/* rgb */ color: rgb(138, 113, 234);
/* oklch */ color: oklch(63.0% 0.176 289.9);
Tailwind
colors: {
  custom: {
    50: '#b19af1',
    500: '#8a71ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a71ea;
$custom-light: #b19af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71ea",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 252.397,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6296,
    "c": 0.17558,
    "h": 289.9
  },
  "luminance": 0.23154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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