#8971DE#8971DE

#8971DE is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.1% C 0.160 H 291.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8971DE
RGBrgb(137, 113, 222)
HSLhsl(253, 62%, 66%)
HSVhsv(253, 49%, 87%)
CMYKcmyk(38.3%, 49.1%, 0%, 12.9%)
CIE-LABlab(54.45, 34.49, -52.67)
CIE-LCHlch(54.45, 62.96, 303.22°)
OKLaboklab(62.13% 0.0577 -0.149)
OKLCHoklch(62.13% 0.16 291.2)
XYZxyz(29.4029, 22.4018, 71.8679)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971DE #C6DE71
analogous
#718FDE #8971DE #BF71DE
triadic
#8971DE #DE8971 #71DE89
tetradic
#8971DE #DE718F #C6DE71 #71DEBF
square
#8971DE #DE718F #C6DE71 #71DEBF
split-complementary
#8971DE #DEBF71 #8FDE71
monochromatic
#4528AD #603FD2 #8971DE #B2A3EA #DCD4F5

Accessibility & contrast

On white

3.83
#8971DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8971DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971DE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971DE#FFFFFF#000000##000000
##8971DE1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E2
Deuteranopia (green-blind)
#4980DB
Tritanopia (blue-blind)
#73879D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8971de;
/* rgb */ color: rgb(137, 113, 222);
/* oklch */ color: oklch(62.1% 0.160 291.2);
Tailwind
colors: {
  custom: {
    50: '#af9ae9',
    500: '#8971de',
    950: '#000000',
  },
}
SCSS
$custom: #8971de;
$custom-light: #af9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8971de",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 253.211,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.15981,
    "h": 291.2
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#8971DE
secondary
#E0E8C3
accent
#CA1BA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8971DE

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

Preview Lab → · Contrast checker → · Palette generator →

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