#8A71E1#8A71E1

#8A71E1 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.4% C 0.164 H 291.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A71E1
RGBrgb(138, 113, 225)
HSLhsl(253, 65%, 66%)
HSVhsv(253, 50%, 88%)
CMYKcmyk(38.7%, 49.8%, 0%, 11.8%)
CIE-LABlab(54.71, 35.55, -53.94)
CIE-LCHlch(54.71, 64.60, 303.39°)
OKLaboklab(62.4% 0.0592 -0.1527)
OKLCHoklch(62.4% 0.164 291.2)
XYZxyz(29.9733, 22.6490, 74.0120)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E1 #C8E171
analogous
#7190E1 #8A71E1 #C271E1
triadic
#8A71E1 #E18A71 #71E18A
tetradic
#8A71E1 #E17190 #C8E171 #71E1C2
square
#8A71E1 #E17190 #C8E171 #71E1C2
split-complementary
#8A71E1 #E1C271 #90E171
monochromatic
#4526B2 #603ED6 #8A71E1 #B4A4EC #DDD6F6

Accessibility & contrast

On white

3.80
#8A71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71E1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71E1#FFFFFF#000000##000000
##8A71E11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#4781DE
Tritanopia (blue-blind)
#73889E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a71e1;
/* rgb */ color: rgb(138, 113, 225);
/* oklch */ color: oklch(62.4% 0.164 291.2);
Tailwind
colors: {
  custom: {
    50: '#b09aeb',
    500: '#8a71e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e1;
$custom-light: #b09aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e1",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 253.393,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62403,
    "c": 0.16379,
    "h": 291.2
  },
  "luminance": 0.2265
}

Semantic roles & 50–950 ramp

primary
#8A71E1
secondary
#E1E9C5
accent
#CD19A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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