#8A71E5#8A71E5

#8A71E5 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.169 H 290.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A71E5
RGBrgb(138, 113, 229)
HSLhsl(253, 69%, 67%)
HSVhsv(253, 51%, 90%)
CMYKcmyk(39.7%, 50.7%, 0%, 10.2%)
CIE-LABlab(54.94, 36.64, -55.82)
CIE-LCHlch(54.94, 66.77, 303.28°)
OKLaboklab(62.65% 0.0595 -0.1582)
OKLCHoklch(62.65% 0.169 290.6)
XYZxyz(30.5254, 22.8698, 76.9195)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E5 #CCE571
analogous
#7192E5 #8A71E5 #C471E5
triadic
#8A71E5 #E58A71 #71E58A
tetradic
#8A71E5 #E57192 #CCE571 #71E5C4
square
#8A71E5 #E57192 #CCE571 #71E5C4
split-complementary
#8A71E5 #E5C471 #92E571
monochromatic
#4322BA #5F3DDC #8A71E5 #B5A5EE #DFD8F8

Accessibility & contrast

On white

3.77
#8A71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71E5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71E5#FFFFFF#000000##000000
##8A71E51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086E9
Deuteranopia (green-blind)
#4381E2
Tritanopia (blue-blind)
#7189A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a71e5;
/* rgb */ color: rgb(138, 113, 229);
/* oklch */ color: oklch(62.6% 0.169 290.6);
Tailwind
colors: {
  custom: {
    50: '#b19aee',
    500: '#8a71e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e5;
$custom-light: #b19aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e5",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 252.931,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.16905,
    "h": 290.6
  },
  "luminance": 0.22871
}

Semantic roles & 50–950 ramp

primary
#8A71E5
secondary
#E3EBC6
accent
#D114A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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