#8971EB#8971EB

#8971EB is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.177 H 289.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8971EB
RGBrgb(137, 113, 235)
HSLhsl(252, 75%, 68%)
HSVhsv(252, 52%, 92%)
CMYKcmyk(41.7%, 51.9%, 0%, 7.8%)
CIE-LABlab(55.20, 38.06, -58.76)
CIE-LCHlch(55.20, 70.00, 302.93°)
OKLaboklab(62.94% 0.0587 -0.1669)
OKLCHoklch(62.94% 0.177 289.4)
XYZxyz(31.2129, 23.1257, 81.4003)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971EB #D3EB71
analogous
#7196EB #8971EB #C671EB
triadic
#8971EB #EB8971 #71EB89
tetradic
#8971EB #EB7196 #D3EB71 #71EBC6
square
#8971EB #EB7196 #D3EB71 #71EBC6
split-complementary
#8971EB #EBC671 #96EB71
monochromatic
#3D1CC6 #5C3BE3 #8971EB #B6A7F3 #E2DCFA

Accessibility & contrast

On white

3.73
#8971EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8971EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971EB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971EB#FFFFFF#000000##000000
##8971EB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#6D8BA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8971eb;
/* rgb */ color: rgb(137, 113, 235);
/* oklch */ color: oklch(62.9% 0.177 289.4);
Tailwind
colors: {
  custom: {
    50: '#b19af2',
    500: '#8971eb',
    950: '#000000',
  },
}
SCSS
$custom: #8971eb;
$custom-light: #b19af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8971eb",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 251.803,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.1769,
    "h": 289.4
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#8971EB
secondary
#E7EEC9
accent
#D70EB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971EB

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

Preview Lab → · Contrast checker → · Palette generator →

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