#8A71EE#8A71EE

#8A71EE is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.2% C 0.181 H 289.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A71EE
RGBrgb(138, 113, 238)
HSLhsl(252, 79%, 69%)
HSVhsv(252, 53%, 93%)
CMYKcmyk(42%, 52.5%, 0%, 6.7%)
CIE-LABlab(55.47, 39.11, -60.00)
CIE-LCHlch(55.47, 71.62, 303.10°)
OKLaboklab(63.21% 0.06 -0.1705)
OKLCHoklch(63.21% 0.181 289.4)
XYZxyz(31.8147, 23.3855, 83.7099)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71EE #D5EE71
analogous
#7197EE #8A71EE #C971EE
triadic
#8A71EE #EE8A71 #71EE8A
tetradic
#8A71EE #EE7197 #D5EE71 #71EEC9
square
#8A71EE #EE7197 #D5EE71 #71EEC9
split-complementary
#8A71EE #EEC971 #97EE71
monochromatic
#3C18CC #5D3AE7 #8A71EE #B7A8F5 #E4DEFB

Accessibility & contrast

On white

3.70
#8A71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71EE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71EE#FFFFFF#000000##000000
##8A71EE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F2
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#6D8BA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a71ee;
/* rgb */ color: rgb(138, 113, 238);
/* oklch */ color: oklch(63.2% 0.181 289.4);
Tailwind
colors: {
  custom: {
    50: '#b19af4',
    500: '#8a71ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a71ee;
$custom-light: #b19af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71ee",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 252,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.18078,
    "h": 289.4
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#8A71EE
secondary
#E8F0CB
accent
#DB0BB1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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