#8971CB#8971CB

#8971CB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.0% C 0.134 H 294.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8971CB
RGBrgb(137, 113, 203)
HSLhsl(256, 46%, 62%)
HSVhsv(256, 44%, 80%)
CMYKcmyk(32.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(53.43, 29.42, -43.54)
CIE-LCHlch(53.43, 52.55, 304.05°)
OKLaboklab(61.03% 0.0554 -0.1223)
OKLCHoklch(61.03% 0.134 294.4)
XYZxyz(26.9984, 21.4400, 59.2042)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971CB #B3CB71
analogous
#7186CB #8971CB #B671CB
triadic
#8971CB #CB8971 #71CB89
tetradic
#8971CB #CB7186 #B3CB71 #71CBB6
square
#8971CB #CB7186 #B3CB71 #71CBB6
split-complementary
#8971CB #CBB671 #86CB71
monochromatic
#4C348E #6444BB #8971CB #AE9EDB #D3CBEC

Accessibility & contrast

On white

3.97
#8971CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8971CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971CB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971CB#FFFFFF#000000##000000
##8971CB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CE
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#7A8294
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8971cb;
/* rgb */ color: rgb(137, 113, 203);
/* oklch */ color: oklch(61.0% 0.134 294.4);
Tailwind
colors: {
  custom: {
    50: '#ae9adb',
    500: '#8971cb',
    950: '#000000',
  },
}
SCSS
$custom: #8971cb;
$custom-light: #ae9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8971cb",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 256,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.13428,
    "h": 294.4
  },
  "luminance": 0.2144
}

Semantic roles & 50–950 ramp

primary
#8971CB
secondary
#D4DCBB
accent
#BA2C94
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8971CB

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

Preview Lab → · Contrast checker → · Palette generator →

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