#8A71E7#8A71E7

#8A71E7 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.8% C 0.172 H 290.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A71E7
RGBrgb(138, 113, 231)
HSLhsl(253, 71%, 67%)
HSVhsv(253, 51%, 91%)
CMYKcmyk(40.3%, 51.1%, 0%, 9.4%)
CIE-LABlab(55.05, 37.19, -56.75)
CIE-LCHlch(55.05, 67.85, 303.24°)
OKLaboklab(62.77% 0.0596 -0.161)
OKLCHoklch(62.77% 0.172 290.3)
XYZxyz(30.8062, 22.9821, 78.3987)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E7 #CEE771
analogous
#7193E7 #8A71E7 #C571E7
triadic
#8A71E7 #E78A71 #71E78A
tetradic
#8A71E7 #E77193 #CEE771 #71E7C5
square
#8A71E7 #E77193 #CEE771 #71E7C5
split-complementary
#8A71E7 #E7C571 #93E771
monochromatic
#4120BE #5F3DDE #8A71E7 #B5A5F0 #E0DAF9

Accessibility & contrast

On white

3.75
#8A71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71E7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71E7#FFFFFF#000000##000000
##8A71E71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#7089A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a71e7;
/* rgb */ color: rgb(138, 113, 231);
/* oklch */ color: oklch(62.8% 0.172 290.3);
Tailwind
colors: {
  custom: {
    50: '#b19aef',
    500: '#8a71e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e7;
$custom-light: #b19aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e7",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 252.712,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62772,
    "c": 0.17167,
    "h": 290.3
  },
  "luminance": 0.22983
}

Semantic roles & 50–950 ramp

primary
#8A71E7
secondary
#E5ECC7
accent
#D312AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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