#8972CE#8972CE

#8972CE is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.4% C 0.137 H 293.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8972CE
RGBrgb(137, 114, 206)
HSLhsl(255, 48%, 63%)
HSVhsv(255, 45%, 81%)
CMYKcmyk(33.5%, 44.7%, 0%, 19.2%)
CIE-LABlab(53.82, 29.62, -44.62)
CIE-LCHlch(53.82, 53.56, 303.58°)
OKLaboklab(61.38% 0.0545 -0.1255)
OKLCHoklch(61.38% 0.137 293.5)
XYZxyz(27.4716, 21.8087, 61.1427)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972CE #B7CE72
analogous
#7289CE #8972CE #B772CE
triadic
#8972CE #CE8972 #72CE89
tetradic
#8972CE #CE7289 #B7CE72 #72CEB7
square
#8972CE #CE7289 #B7CE72 #72CEB7
split-complementary
#8972CE #CEB772 #89CE72
monochromatic
#4B3393 #6345BE #8972CE #AF9FDE #D5CDEE

Accessibility & contrast

On white

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

On black

5.36
#8972CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972CE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972CE#FFFFFF#000000##000000
##8972CE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D1
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#798396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8972ce;
/* rgb */ color: rgb(137, 114, 206);
/* oklch */ color: oklch(61.4% 0.137 293.5);
Tailwind
colors: {
  custom: {
    50: '#ae9bdd',
    500: '#8972ce',
    950: '#000000',
  },
}
SCSS
$custom: #8972ce;
$custom-light: #ae9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8972ce",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 255,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.1368,
    "h": 293.5
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#8972CE
secondary
#D6DFBD
accent
#BC2A97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8972CE

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

Preview Lab → · Contrast checker → · Palette generator →

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