#8972BB#8972BB

#8972BB is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.111 H 297.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8972BB
RGBrgb(137, 114, 187)
HSLhsl(259, 35%, 59%)
HSVhsv(259, 39%, 73%)
CMYKcmyk(26.7%, 39%, 0%, 26.7%)
CIE-LABlab(52.88, 24.73, -35.24)
CIE-LCHlch(52.88, 43.05, 305.06°)
OKLaboklab(60.36% 0.0511 -0.0982)
OKLCHoklch(60.36% 0.111 297.5)
XYZxyz(25.3014, 20.9406, 49.7130)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972BB #A4BB72
analogous
#7280BB #8972BB #AE72BB
triadic
#8972BB #BB8972 #72BB89
tetradic
#8972BB #BB7280 #A4BB72 #72BBAE
square
#8972BB #BB7280 #A4BB72 #72BBAE
split-complementary
#8972BB #BBAE72 #80BB72
monochromatic
#4E3A78 #684EA2 #8972BB #AC9BCF #CEC5E3

Accessibility & contrast

On white

4.05
#8972BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8972BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972BB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972BB#FFFFFF#000000##000000
##8972BB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#7F7E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8972bb;
/* rgb */ color: rgb(137, 114, 187);
/* oklch */ color: oklch(60.4% 0.111 297.5);
Tailwind
colors: {
  custom: {
    50: '#ad9ad0',
    500: '#8972bb',
    950: '#000000',
  },
}
SCSS
$custom: #8972bb;
$custom-light: #ad9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8972bb",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 258.904,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.11074,
    "h": 297.5
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#8972BB
secondary
#CAD3B6
accent
#CB5DA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8972BB

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

Preview Lab → · Contrast checker → · Palette generator →

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