#8971BD#8971BD

#8971BD is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.3% C 0.115 H 297.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8971BD
RGBrgb(137, 113, 189)
HSLhsl(259, 37%, 59%)
HSVhsv(259, 40%, 74%)
CMYKcmyk(27.5%, 40.2%, 0%, 25.9%)
CIE-LABlab(52.73, 25.82, -36.63)
CIE-LCHlch(52.73, 44.81, 305.18°)
OKLaboklab(60.28% 0.053 -0.1022)
OKLCHoklch(60.28% 0.115 297.4)
XYZxyz(25.4048, 20.8025, 50.8111)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971BD #A5BD71
analogous
#717FBD #8971BD #AF71BD
triadic
#8971BD #BD8971 #71BD89
tetradic
#8971BD #BD717F #A5BD71 #71BDAF
square
#8971BD #BD717F #A5BD71 #71BDAF
split-complementary
#8971BD #BDAF71 #7FBD71
monochromatic
#4E397B #684CA4 #8971BD #AC9BD0 #CEC5E4

Accessibility & contrast

On white

4.07
#8971BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8971BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971BD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971BD#FFFFFF#000000##000000
##8971BD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC0
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#7F7E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8971bd;
/* rgb */ color: rgb(137, 113, 189);
/* oklch */ color: oklch(60.3% 0.115 297.4);
Tailwind
colors: {
  custom: {
    50: '#ad9ad1',
    500: '#8971bd',
    950: '#000000',
  },
}
SCSS
$custom: #8971bd;
$custom-light: #ad9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8971bd",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 258.947,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.11514,
    "h": 297.4
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#8971BD
secondary
#CAD4B6
accent
#CD5BA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8971BD

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

Preview Lab → · Contrast checker → · Palette generator →

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