#8971BC#8971BC

#8971BC is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.2% C 0.114 H 297.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8971BC
RGBrgb(137, 113, 188)
HSLhsl(259, 36%, 59%)
HSVhsv(259, 40%, 74%)
CMYKcmyk(27.1%, 39.9%, 0%, 26.3%)
CIE-LABlab(52.68, 25.57, -36.13)
CIE-LCHlch(52.68, 44.26, 305.29°)
OKLaboklab(60.23% 0.0528 -0.1008)
OKLCHoklch(60.23% 0.114 297.6)
XYZxyz(25.2966, 20.7592, 50.2414)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971BC #A4BC71
analogous
#717FBC #8971BC #AF71BC
triadic
#8971BC #BC8971 #71BC89
tetradic
#8971BC #BC717F #A4BC71 #71BCAF
square
#8971BC #BC717F #A4BC71 #71BCAF
split-complementary
#8971BC #BCAF71 #7FBC71
monochromatic
#4E3979 #684DA3 #8971BC #AC9BD0 #CEC4E3

Accessibility & contrast

On white

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

On black

5.15
#8971BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971BC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971BC#FFFFFF#000000##000000
##8971BC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8971bc;
/* rgb */ color: rgb(137, 113, 188);
/* oklch */ color: oklch(60.2% 0.114 297.6);
Tailwind
colors: {
  custom: {
    50: '#ad9ad0',
    500: '#8971bc',
    950: '#000000',
  },
}
SCSS
$custom: #8971bc;
$custom-light: #ad9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8971bc",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 259.2,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.11377,
    "h": 297.6
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#8971BC
secondary
#CAD3B6
accent
#CC5CA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8971BC

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

Preview Lab → · Contrast checker → · Palette generator →

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