#8972CB#8972CB

#8972CB is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.2% C 0.133 H 294.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8972CB
RGBrgb(137, 114, 203)
HSLhsl(256, 46%, 62%)
HSVhsv(256, 44%, 80%)
CMYKcmyk(32.5%, 43.8%, 0%, 20.4%)
CIE-LABlab(53.67, 28.83, -43.16)
CIE-LCHlch(53.67, 51.90, 303.75°)
OKLaboklab(61.22% 0.054 -0.1212)
OKLCHoklch(61.22% 0.133 294)
XYZxyz(27.1106, 21.6643, 59.2416)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972CB #B4CB72
analogous
#7287CB #8972CB #B672CB
triadic
#8972CB #CB8972 #72CB89
tetradic
#8972CB #CB7287 #B4CB72 #72CBB6
square
#8972CB #CB7287 #B4CB72 #72CBB6
split-complementary
#8972CB #CBB672 #87CB72
monochromatic
#4C348E #6445BB #8972CB #AE9FDB #D4CBEC

Accessibility & contrast

On white

3.94
#8972CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8972CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972CB#FFFFFF#000000##000000
##8972CB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#7A8395
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8972cb;
/* rgb */ color: rgb(137, 114, 203);
/* oklch */ color: oklch(61.2% 0.133 294.0);
Tailwind
colors: {
  custom: {
    50: '#ae9bdb',
    500: '#8972cb',
    950: '#000000',
  },
}
SCSS
$custom: #8972cb;
$custom-light: #ae9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8972cb",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 255.506,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.13271,
    "h": 294
  },
  "luminance": 0.21665
}

Semantic roles & 50–950 ramp

primary
#8972CB
secondary
#D4DDBC
accent
#B92C95
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8972CB

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

Preview Lab → · Contrast checker → · Palette generator →

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