#8A71DE#8A71DE

#8A71DE is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.160 H 291.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A71DE
RGBrgb(138, 113, 222)
HSLhsl(254, 62%, 66%)
HSVhsv(254, 49%, 87%)
CMYKcmyk(37.8%, 49.1%, 0%, 12.9%)
CIE-LABlab(54.54, 34.74, -52.52)
CIE-LCHlch(54.54, 62.97, 303.48°)
OKLaboklab(62.22% 0.0589 -0.1486)
OKLCHoklch(62.22% 0.16 291.6)
XYZxyz(29.5676, 22.4867, 71.8756)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71DE #C5DE71
analogous
#718EDE #8A71DE #C071DE
triadic
#8A71DE #DE8A71 #71DE8A
tetradic
#8A71DE #DE718E #C5DE71 #71DEC0
square
#8A71DE #DE718E #C5DE71 #71DEC0
split-complementary
#8A71DE #DEC071 #8EDE71
monochromatic
#4628AD #613FD2 #8A71DE #B3A3EA #DCD4F5

Accessibility & contrast

On white

3.82
#8A71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71DE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71DE#FFFFFF#000000##000000
##8A71DE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E2
Deuteranopia (green-blind)
#4A80DB
Tritanopia (blue-blind)
#74879D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a71de;
/* rgb */ color: rgb(138, 113, 222);
/* oklch */ color: oklch(62.2% 0.160 291.6);
Tailwind
colors: {
  custom: {
    50: '#b09ae9',
    500: '#8a71de',
    950: '#000000',
  },
}
SCSS
$custom: #8a71de;
$custom-light: #b09ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71de",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 253.761,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.15982,
    "h": 291.6
  },
  "luminance": 0.22487
}

Semantic roles & 50–950 ramp

primary
#8A71DE
secondary
#DFE8C3
accent
#CA1BA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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