#8A71E9#8A71E9

#8A71E9 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.174 H 290.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A71E9
RGBrgb(138, 113, 233)
HSLhsl(253, 73%, 68%)
HSVhsv(253, 52%, 91%)
CMYKcmyk(40.8%, 51.5%, 0%, 8.6%)
CIE-LABlab(55.17, 37.74, -57.68)
CIE-LCHlch(55.17, 68.93, 303.19°)
OKLaboklab(62.9% 0.0598 -0.1637)
OKLCHoklch(62.9% 0.174 290.1)
XYZxyz(31.0903, 23.0957, 79.8948)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E9 #D0E971
analogous
#7194E9 #8A71E9 #C671E9
triadic
#8A71E9 #E98A71 #71E98A
tetradic
#8A71E9 #E97194 #D0E971 #71E9C6
square
#8A71E9 #E97194 #D0E971 #71E9C6
split-complementary
#8A71E9 #E9C671 #94E971
monochromatic
#401EC2 #5E3CE1 #8A71E9 #B6A6F1 #E1DBF9

Accessibility & contrast

On white

3.74
#8A71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71E9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71E9#FFFFFF#000000##000000
##8A71E91.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#708AA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a71e9;
/* rgb */ color: rgb(138, 113, 233);
/* oklch */ color: oklch(62.9% 0.174 290.1);
Tailwind
colors: {
  custom: {
    50: '#b19af1',
    500: '#8a71e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e9;
$custom-light: #b19af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e9",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 252.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62897,
    "c": 0.17428,
    "h": 290.1
  },
  "luminance": 0.23097
}

Semantic roles & 50–950 ramp

primary
#8A71E9
secondary
#E6EDC8
accent
#D510AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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