#8971BF#8971BF

#8971BF is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.118 H 296.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8971BF
RGBrgb(137, 113, 191)
HSLhsl(258, 38%, 60%)
HSVhsv(258, 41%, 75%)
CMYKcmyk(28.3%, 40.8%, 0%, 25.1%)
CIE-LABlab(52.83, 26.32, -37.62)
CIE-LCHlch(52.83, 45.92, 304.98°)
OKLaboklab(60.39% 0.0533 -0.1051)
OKLCHoklch(60.39% 0.118 296.9)
XYZxyz(25.6234, 20.8899, 51.9623)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971BF #A7BF71
analogous
#7180BF #8971BF #B071BF
triadic
#8971BF #BF8971 #71BF89
tetradic
#8971BF #BF7180 #A7BF71 #71BFB0
square
#8971BF #BF7180 #A7BF71 #71BFB0
split-complementary
#8971BF #BFB071 #80BF71
monochromatic
#4E387D #684BA7 #8971BF #AC9BD2 #CFC5E5

Accessibility & contrast

On white

4.06
#8971BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8971BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971BF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971BF#FFFFFF#000000##000000
##8971BF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#7E7F8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8971bf;
/* rgb */ color: rgb(137, 113, 191);
/* oklch */ color: oklch(60.4% 0.118 296.9);
Tailwind
colors: {
  custom: {
    50: '#ad9ad2',
    500: '#8971bf',
    950: '#000000',
  },
}
SCSS
$custom: #8971bf;
$custom-light: #ad9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8971bf",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 258.462,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.11788,
    "h": 296.9
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#8971BF
secondary
#CCD5B7
accent
#CE5AAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8971BF

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

Preview Lab → · Contrast checker → · Palette generator →

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