#8971BE#8971BE

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

Color values

HEX#8971BE
RGBrgb(137, 113, 190)
HSLhsl(259, 37%, 59%)
HSVhsv(259, 41%, 75%)
CMYKcmyk(27.9%, 40.5%, 0%, 25.5%)
CIE-LABlab(52.78, 26.07, -37.12)
CIE-LCHlch(52.78, 45.36, 305.08°)
OKLaboklab(60.33% 0.0531 -0.1037)
OKLCHoklch(60.33% 0.117 297.1)
XYZxyz(25.5137, 20.8461, 51.3847)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971BE #A6BE71
analogous
#7180BE #8971BE #B071BE
triadic
#8971BE #BE8971 #71BE89
tetradic
#8971BE #BE7180 #A6BE71 #71BEB0
square
#8971BE #BE7180 #A6BE71 #71BEB0
split-complementary
#8971BE #BEB071 #80BE71
monochromatic
#4E397C #684CA6 #8971BE #AC9BD1 #CFC5E4

Accessibility & contrast

On white

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

On black

5.17
#8971BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971BE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971BE#FFFFFF#000000##000000
##8971BE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC1
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#7E7E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8971be;
/* rgb */ color: rgb(137, 113, 190);
/* oklch */ color: oklch(60.3% 0.117 297.1);
Tailwind
colors: {
  custom: {
    50: '#ad9ad2',
    500: '#8971be',
    950: '#000000',
  },
}
SCSS
$custom: #8971be;
$custom-light: #ad9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8971be",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 258.701,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.11651,
    "h": 297.1
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8971BE

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

Preview Lab → · Contrast checker → · Palette generator →

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