#8A71E0#8A71E0

#8A71E0 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.3% C 0.162 H 291.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A71E0
RGBrgb(138, 113, 224)
HSLhsl(254, 64%, 66%)
HSVhsv(254, 50%, 88%)
CMYKcmyk(38.4%, 49.6%, 0%, 12.2%)
CIE-LABlab(54.65, 35.28, -53.47)
CIE-LCHlch(54.65, 64.06, 303.42°)
OKLaboklab(62.34% 0.0591 -0.1514)
OKLCHoklch(62.34% 0.162 291.3)
XYZxyz(29.8373, 22.5945, 73.2957)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71E0 #C7E071
analogous
#718FE0 #8A71E0 #C271E0
triadic
#8A71E0 #E08A71 #71E08A
tetradic
#8A71E0 #E0718F #C7E071 #71E0C2
square
#8A71E0 #E0718F #C7E071 #71E0C2
split-complementary
#8A71E0 #E0C271 #8FE071
monochromatic
#4526B0 #613FD5 #8A71E0 #B3A3EB #DDD5F6

Accessibility & contrast

On white

3.81
#8A71E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A71E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71E0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71E0#FFFFFF#000000##000000
##8A71E01.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E4
Deuteranopia (green-blind)
#4880DD
Tritanopia (blue-blind)
#74879E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a71e0;
/* rgb */ color: rgb(138, 113, 224);
/* oklch */ color: oklch(62.3% 0.162 291.3);
Tailwind
colors: {
  custom: {
    50: '#b09aea',
    500: '#8a71e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a71e0;
$custom-light: #b09aea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71e0",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 224
  },
  "hsl": {
    "h": 253.514,
    "s": 64.162,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62342,
    "c": 0.16248,
    "h": 291.3
  },
  "luminance": 0.22595
}

Semantic roles & 50–950 ramp

primary
#8A71E0
secondary
#E0E9C4
accent
#CC1AA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71E0

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

Preview Lab → · Contrast checker → · Palette generator →

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