#8972BF#8972BF

#8972BF is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.6% C 0.116 H 296.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8972BF
RGBrgb(137, 114, 191)
HSLhsl(258, 38%, 60%)
HSVhsv(258, 40%, 75%)
CMYKcmyk(28.3%, 40.3%, 0%, 25.1%)
CIE-LABlab(53.07, 25.74, -37.24)
CIE-LCHlch(53.07, 45.27, 304.65°)
OKLaboklab(60.57% 0.0519 -0.104)
OKLCHoklch(60.57% 0.116 296.5)
XYZxyz(25.7356, 21.1143, 51.9997)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972BF #A8BF72
analogous
#7282BF #8972BF #B072BF
triadic
#8972BF #BF8972 #72BF89
tetradic
#8972BF #BF7282 #A8BF72 #72BFB0
square
#8972BF #BF7282 #A8BF72 #72BFB0
split-complementary
#8972BF #BFB072 #82BF72
monochromatic
#4D397E #674CA8 #8972BF #AC9CD2 #CFC6E5

Accessibility & contrast

On white

4.02
#8972BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8972BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972BF#FFFFFF#000000##000000
##8972BF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#7E7F8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8972bf;
/* rgb */ color: rgb(137, 114, 191);
/* oklch */ color: oklch(60.6% 0.116 296.5);
Tailwind
colors: {
  custom: {
    50: '#ad9ad2',
    500: '#8972bf',
    950: '#000000',
  },
}
SCSS
$custom: #8972bf;
$custom-light: #ad9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8972bf",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 257.922,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60571,
    "c": 0.11626,
    "h": 296.5
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#8972BF
secondary
#CCD5B8
accent
#CE5AAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8972BF

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

Preview Lab → · Contrast checker → · Palette generator →

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