#8A71E6#8A71E6

#8A71E6 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.7% C 0.170 H 290.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A71E6
RGBrgb(138, 113, 230)
HSLhsl(253, 70%, 67%)
HSVhsv(253, 51%, 90%)
CMYKcmyk(40%, 50.9%, 0%, 9.8%)
CIE-LABlab(55.00, 36.91, -56.28)
CIE-LCHlch(55.00, 67.31, 303.26°)
OKLaboklab(62.71% 0.0596 -0.1596)
OKLCHoklch(62.71% 0.17 290.5)
XYZxyz(30.6654, 22.9258, 77.6570)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E6 #CDE671
analogous
#7192E6 #8A71E6 #C571E6
triadic
#8A71E6 #E68A71 #71E68A
tetradic
#8A71E6 #E67192 #CDE671 #71E6C5
square
#8A71E6 #E67192 #CDE671 #71E6C5
split-complementary
#8A71E6 #E6C571 #92E671
monochromatic
#4221BC #5F3DDD #8A71E6 #B5A5EF #E0D9F8

Accessibility & contrast

On white

3.76
#8A71E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A71E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71E6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71E6#FFFFFF#000000##000000
##8A71E61.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#7189A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a71e6;
/* rgb */ color: rgb(138, 113, 230);
/* oklch */ color: oklch(62.7% 0.170 290.5);
Tailwind
colors: {
  custom: {
    50: '#b19aee',
    500: '#8a71e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e6;
$custom-light: #b19aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e6",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 252.821,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.17036,
    "h": 290.5
  },
  "luminance": 0.22927
}

Semantic roles & 50–950 ramp

primary
#8A71E6
secondary
#E4ECC7
accent
#D213A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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