#8971E5#8971E5

#8971E5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.6% C 0.169 H 290.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8971E5
RGBrgb(137, 113, 229)
HSLhsl(252, 69%, 67%)
HSVhsv(252, 51%, 90%)
CMYKcmyk(40.2%, 50.7%, 0%, 10.2%)
CIE-LABlab(54.85, 36.40, -55.96)
CIE-LCHlch(54.85, 66.76, 303.04°)
OKLaboklab(62.56% 0.0583 -0.1587)
OKLCHoklch(62.56% 0.169 290.2)
XYZxyz(30.3606, 22.7848, 76.9118)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971E5 #CDE571
analogous
#7193E5 #8971E5 #C371E5
triadic
#8971E5 #E58971 #71E589
tetradic
#8971E5 #E57193 #CDE571 #71E5C3
square
#8971E5 #E57193 #CDE571 #71E5C3
split-complementary
#8971E5 #E5C371 #93E571
monochromatic
#4122BA #5E3DDC #8971E5 #B4A5EE #DFD8F8

Accessibility & contrast

On white

3.78
#8971E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8971E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971E5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971E5#FFFFFF#000000##000000
##8971E51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8971e5;
/* rgb */ color: rgb(137, 113, 229);
/* oklch */ color: oklch(62.6% 0.169 290.2);
Tailwind
colors: {
  custom: {
    50: '#b09aee',
    500: '#8971e5',
    950: '#000000',
  },
}
SCSS
$custom: #8971e5;
$custom-light: #b09aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8971e5",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 252.414,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62561,
    "c": 0.16905,
    "h": 290.2
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#8971E5
secondary
#E4EBC6
accent
#D114AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8971E5

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

Preview Lab → · Contrast checker → · Palette generator →

#8971E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva