#8A71DC#8A71DC

#8A71DC is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.1% C 0.157 H 291.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A71DC
RGBrgb(138, 113, 220)
HSLhsl(254, 60%, 65%)
HSVhsv(254, 49%, 86%)
CMYKcmyk(37.3%, 48.6%, 0%, 13.7%)
CIE-LABlab(54.43, 34.20, -51.57)
CIE-LCHlch(54.43, 61.88, 303.55°)
OKLaboklab(62.1% 0.0587 -0.1458)
OKLCHoklch(62.1% 0.157 291.9)
XYZxyz(29.3012, 22.3801, 70.4723)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71DC #C3DC71
analogous
#718DDC #8A71DC #C071DC
triadic
#8A71DC #DC8A71 #71DC8A
tetradic
#8A71DC #DC718D #C3DC71 #71DCC0
square
#8A71DC #DC718D #C3DC71 #71DCC0
split-complementary
#8A71DC #DCC071 #8DDC71
monochromatic
#472AA9 #6240D0 #8A71DC #B2A2E8 #DBD3F4

Accessibility & contrast

On white

3.83
#8A71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8A71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71DC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71DC#FFFFFF#000000##000000
##8A71DC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#75869C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a71dc;
/* rgb */ color: rgb(138, 113, 220);
/* oklch */ color: oklch(62.1% 0.157 291.9);
Tailwind
colors: {
  custom: {
    50: '#b09ae7',
    500: '#8a71dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a71dc;
$custom-light: #b09ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71dc",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 254.019,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.15718,
    "h": 291.9
  },
  "luminance": 0.22381
}

Semantic roles & 50–950 ramp

primary
#8A71DC
secondary
#DEE6C2
accent
#C81DA0
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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