#8971E8#8971E8

#8971E8 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.7% C 0.173 H 289.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8971E8
RGBrgb(137, 113, 232)
HSLhsl(252, 72%, 68%)
HSVhsv(252, 51%, 91%)
CMYKcmyk(40.9%, 51.3%, 0%, 9%)
CIE-LABlab(55.02, 37.23, -57.36)
CIE-LCHlch(55.02, 68.38, 302.98°)
OKLaboklab(62.75% 0.0585 -0.1628)
OKLCHoklch(62.75% 0.173 289.8)
XYZxyz(30.7831, 22.9538, 79.1369)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971E8 #D0E871
analogous
#7194E8 #8971E8 #C571E8
triadic
#8971E8 #E88971 #71E889
tetradic
#8971E8 #E87194 #D0E871 #71E8C5
square
#8971E8 #E87194 #D0E871 #71E8C5
split-complementary
#8971E8 #E8C571 #94E871
monochromatic
#3F1FC0 #5D3CDF #8971E8 #B5A6F1 #E1DAF9

Accessibility & contrast

On white

3.76
#8971E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8971E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971E8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971E8#FFFFFF#000000##000000
##8971E81.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#6E8AA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8971e8;
/* rgb */ color: rgb(137, 113, 232);
/* oklch */ color: oklch(62.7% 0.173 289.8);
Tailwind
colors: {
  custom: {
    50: '#b09af0',
    500: '#8971e8',
    950: '#000000',
  },
}
SCSS
$custom: #8971e8;
$custom-light: #b09af0;
$custom-dark: #000000;
JSON
{
  "hex": "#8971e8",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 252.101,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.17298,
    "h": 289.8
  },
  "luminance": 0.22955
}

Semantic roles & 50–950 ramp

primary
#8971E8
secondary
#E5EDC8
accent
#D411AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971E8

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

Preview Lab → · Contrast checker → · Palette generator →

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