#8972CD#8972CD

#8972CD is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.3% C 0.135 H 293.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8972CD
RGBrgb(137, 114, 205)
HSLhsl(255, 48%, 63%)
HSVhsv(255, 44%, 80%)
CMYKcmyk(33.2%, 44.4%, 0%, 19.6%)
CIE-LABlab(53.77, 29.36, -44.13)
CIE-LCHlch(53.77, 53.01, 303.64°)
OKLaboklab(61.33% 0.0543 -0.1241)
OKLCHoklch(61.33% 0.135 293.7)
XYZxyz(27.3505, 21.7603, 60.5049)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972CD #B6CD72
analogous
#7288CD #8972CD #B772CD
triadic
#8972CD #CD8972 #72CD89
tetradic
#8972CD #CD7288 #B6CD72 #72CDB7
square
#8972CD #CD7288 #B6CD72 #72CDB7
split-complementary
#8972CD #CDB772 #88CD72
monochromatic
#4B3391 #6345BD #8972CD #AF9FDD #D5CCED

Accessibility & contrast

On white

3.92
#8972CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8972CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972CD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972CD#FFFFFF#000000##000000
##8972CD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#798396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8972cd;
/* rgb */ color: rgb(137, 114, 205);
/* oklch */ color: oklch(61.3% 0.135 293.7);
Tailwind
colors: {
  custom: {
    50: '#ae9bdd',
    500: '#8972cd',
    950: '#000000',
  },
}
SCSS
$custom: #8972cd;
$custom-light: #ae9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8972cd",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 255.165,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.13543,
    "h": 293.7
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#8972CD
secondary
#D6DEBD
accent
#BB2B96
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8972CD

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

Preview Lab → · Contrast checker → · Palette generator →

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