#8A71E4#8A71E4

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

Color values

HEX#8A71E4
RGBrgb(138, 113, 228)
HSLhsl(253, 68%, 67%)
HSVhsv(253, 50%, 89%)
CMYKcmyk(39.5%, 50.4%, 0%, 10.6%)
CIE-LABlab(54.88, 36.37, -55.35)
CIE-LCHlch(54.88, 66.23, 303.31°)
OKLaboklab(62.59% 0.0594 -0.1569)
OKLCHoklch(62.59% 0.168 290.7)
XYZxyz(30.3861, 22.8141, 76.1863)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E4 #CBE471
analogous
#7192E4 #8A71E4 #C371E4
triadic
#8A71E4 #E48A71 #71E48A
tetradic
#8A71E4 #E47192 #CBE471 #71E4C3
square
#8A71E4 #E47192 #CBE471 #71E4C3
split-complementary
#8A71E4 #E4C371 #92E471
monochromatic
#4323B8 #603EDA #8A71E4 #B4A4EE #DFD8F8

Accessibility & contrast

On white

3.77
#8A71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A71E4#FFFFFF#000000##000000
##8A71E41.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#4481E1
Tritanopia (blue-blind)
#7289A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a71e4;
/* rgb */ color: rgb(138, 113, 228);
/* oklch */ color: oklch(62.6% 0.168 290.7);
Tailwind
colors: {
  custom: {
    50: '#b09aed',
    500: '#8a71e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e4;
$custom-light: #b09aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e4",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 253.043,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.16773,
    "h": 290.7
  },
  "luminance": 0.22815
}

Semantic roles & 50–950 ramp

primary
#8A71E4
secondary
#E3EBC6
accent
#D016A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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