#8971BB#8971BB

#8971BB is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.2% C 0.112 H 297.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8971BB
RGBrgb(137, 113, 187)
HSLhsl(259, 35%, 59%)
HSVhsv(259, 40%, 73%)
CMYKcmyk(26.7%, 39.6%, 0%, 26.7%)
CIE-LABlab(52.64, 25.31, -35.63)
CIE-LCHlch(52.64, 43.70, 305.40°)
OKLaboklab(60.18% 0.0526 -0.0993)
OKLCHoklch(60.18% 0.112 297.9)
XYZxyz(25.1892, 20.7163, 49.6756)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971BB #A3BB71
analogous
#717EBB #8971BB #AE71BB
triadic
#8971BB #BB8971 #71BB89
tetradic
#8971BB #BB717E #A3BB71 #71BBAE
square
#8971BB #BB717E #A3BB71 #71BBAE
split-complementary
#8971BB #BBAE71 #7EBB71
monochromatic
#4E3A78 #694DA1 #8971BB #AB9ACF #CEC4E3

Accessibility & contrast

On white

4.08
#8971BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8971BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971BB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971BB#FFFFFF#000000##000000
##8971BB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#7F7E8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8971bb;
/* rgb */ color: rgb(137, 113, 187);
/* oklch */ color: oklch(60.2% 0.112 297.9);
Tailwind
colors: {
  custom: {
    50: '#ad9ad0',
    500: '#8971bb',
    950: '#000000',
  },
}
SCSS
$custom: #8971bb;
$custom-light: #ad9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8971bb",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 259.459,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.11239,
    "h": 297.9
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#8971BB
secondary
#C9D2B5
accent
#CB5DA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8971BB

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

Preview Lab → · Contrast checker → · Palette generator →

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