#8A71D0#8A71D0

#8A71D0 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.4% C 0.141 H 294.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A71D0
RGBrgb(138, 113, 208)
HSLhsl(256, 50%, 63%)
HSVhsv(256, 46%, 82%)
CMYKcmyk(33.7%, 45.7%, 0%, 18.4%)
CIE-LABlab(53.78, 31.00, -45.82)
CIE-LCHlch(53.78, 55.32, 304.08°)
OKLaboklab(61.4% 0.0573 -0.129)
OKLCHoklch(61.4% 0.141 294)
XYZxyz(27.7686, 21.7671, 62.4007)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71D0 #B7D071
analogous
#7187D0 #8A71D0 #B971D0
triadic
#8A71D0 #D08A71 #71D08A
tetradic
#8A71D0 #D07187 #B7D071 #71D0B9
square
#8A71D0 #D07187 #B7D071 #71D0B9
split-complementary
#8A71D0 #D0B971 #87D071
monochromatic
#4C3195 #6443C1 #8A71D0 #B09FDF #D6CDEE

Accessibility & contrast

On white

3.92
#8A71D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A71D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71D0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71D0#FFFFFF#000000##000000
##8A71D01.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D3
Deuteranopia (green-blind)
#557FCE
Tritanopia (blue-blind)
#7A8396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a71d0;
/* rgb */ color: rgb(138, 113, 208);
/* oklch */ color: oklch(61.4% 0.141 294.0);
Tailwind
colors: {
  custom: {
    50: '#af9adf',
    500: '#8a71d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a71d0;
$custom-light: #af9adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71d0",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 255.789,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.14112,
    "h": 294
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#8A71D0
secondary
#D6DFBD
accent
#BE2896
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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