#8A71D6#8A71D6

#8A71D6 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.149 H 292.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A71D6
RGBrgb(138, 113, 214)
HSLhsl(255, 55%, 64%)
HSVhsv(255, 47%, 84%)
CMYKcmyk(35.5%, 47.2%, 0%, 16.1%)
CIE-LABlab(54.10, 32.59, -48.71)
CIE-LCHlch(54.10, 58.61, 303.79°)
OKLaboklab(61.75% 0.0581 -0.1374)
OKLCHoklch(61.75% 0.149 292.9)
XYZxyz(28.5208, 22.0679, 66.3622)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71D6 #BDD671
analogous
#718BD6 #8A71D6 #BC71D6
triadic
#8A71D6 #D68A71 #71D68A
tetradic
#8A71D6 #D6718B #BDD671 #71D6BC
square
#8A71D6 #D6718B #BDD671 #71D6BC
split-complementary
#8A71D6 #D6BC71 #8BD671
monochromatic
#4A2E9F #6342C8 #8A71D6 #B1A0E4 #D8D0F1

Accessibility & contrast

On white

3.88
#8A71D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71D6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71D6#FFFFFF#000000##000000
##8A71D61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DA
Deuteranopia (green-blind)
#5180D4
Tritanopia (blue-blind)
#788599
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a71d6;
/* rgb */ color: rgb(138, 113, 214);
/* oklch */ color: oklch(61.7% 0.149 292.9);
Tailwind
colors: {
  custom: {
    50: '#af9ae3',
    500: '#8a71d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a71d6;
$custom-light: #af9ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71d6",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 254.851,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.14918,
    "h": 292.9
  },
  "luminance": 0.22069
}

Semantic roles & 50–950 ramp

primary
#8A71D6
secondary
#DAE3C0
accent
#C3239B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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