#8A71DD#8A71DD

#8A71DD is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.2% C 0.159 H 291.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A71DD
RGBrgb(138, 113, 221)
HSLhsl(254, 61%, 65%)
HSVhsv(254, 49%, 87%)
CMYKcmyk(37.6%, 48.9%, 0%, 13.3%)
CIE-LABlab(54.48, 34.47, -52.05)
CIE-LCHlch(54.48, 62.43, 303.51°)
OKLaboklab(62.16% 0.0588 -0.1472)
OKLCHoklch(62.16% 0.159 291.8)
XYZxyz(29.4340, 22.4332, 71.1718)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71DD #C4DD71
analogous
#718EDD #8A71DD #C071DD
triadic
#8A71DD #DD8A71 #71DD8A
tetradic
#8A71DD #DD718E #C4DD71 #71DDC0
square
#8A71DD #DD718E #C4DD71 #71DDC0
split-complementary
#8A71DD #DDC071 #8EDD71
monochromatic
#4729AB #6140D1 #8A71DD #B3A2E9 #DBD4F5

Accessibility & contrast

On white

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

On black

5.49
#8A71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71DD#FFFFFF#000000##000000
##8A71DD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#75879D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a71dd;
/* rgb */ color: rgb(138, 113, 221);
/* oklch */ color: oklch(62.2% 0.159 291.8);
Tailwind
colors: {
  custom: {
    50: '#b09ae8',
    500: '#8a71dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a71dd;
$custom-light: #b09ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71dd",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 253.889,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.1585,
    "h": 291.8
  },
  "luminance": 0.22434
}

Semantic roles & 50–950 ramp

primary
#8A71DD
secondary
#DFE7C3
accent
#C91CA1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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