#8971DB#8971DB

#8971DB is a mid, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.156 H 291.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8971DB
RGBrgb(137, 113, 219)
HSLhsl(254, 60%, 65%)
HSVhsv(254, 48%, 86%)
CMYKcmyk(37.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(54.28, 33.68, -51.25)
CIE-LCHlch(54.28, 61.32, 303.31°)
OKLaboklab(61.95% 0.0574 -0.1449)
OKLCHoklch(61.95% 0.156 291.6)
XYZxyz(29.0044, 22.2424, 69.7691)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971DB #C3DB71
analogous
#718EDB #8971DB #BE71DB
triadic
#8971DB #DB8971 #71DB89
tetradic
#8971DB #DB718E #C3DB71 #71DBBE
square
#8971DB #DB718E #C3DB71 #71DBBE
split-complementary
#8971DB #DBBE71 #8EDB71
monochromatic
#472AA7 #6040CF #8971DB #B2A2E7 #DAD3F4

Accessibility & contrast

On white

3.85
#8971DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8971DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971DB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971DB#FFFFFF#000000##000000
##8971DB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#74869C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8971db;
/* rgb */ color: rgb(137, 113, 219);
/* oklch */ color: oklch(62.0% 0.156 291.6);
Tailwind
colors: {
  custom: {
    50: '#af9ae7',
    500: '#8971db',
    950: '#000000',
  },
}
SCSS
$custom: #8971db;
$custom-light: #af9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8971db",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 253.585,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.15582,
    "h": 291.6
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#8971DB
secondary
#DEE6C2
accent
#C71EA1
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8971DB

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

Preview Lab → · Contrast checker → · Palette generator →

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