#8972CC#8972CC

#8972CC is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.134 H 293.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8972CC
RGBrgb(137, 114, 204)
HSLhsl(255, 47%, 62%)
HSVhsv(255, 44%, 80%)
CMYKcmyk(32.8%, 44.1%, 0%, 20%)
CIE-LABlab(53.72, 29.10, -43.64)
CIE-LCHlch(53.72, 52.45, 303.69°)
OKLaboklab(61.27% 0.0542 -0.1226)
OKLCHoklch(61.27% 0.134 293.8)
XYZxyz(27.2302, 21.7121, 59.8712)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972CC #B5CC72
analogous
#7288CC #8972CC #B672CC
triadic
#8972CC #CC8972 #72CC89
tetradic
#8972CC #CC7288 #B5CC72 #72CCB6
square
#8972CC #CC7288 #B5CC72 #72CCB6
split-complementary
#8972CC #CCB672 #88CC72
monochromatic
#4B3490 #6345BC #8972CC #AF9FDC #D4CCED

Accessibility & contrast

On white

3.93
#8972CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8972CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972CC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972CC#FFFFFF#000000##000000
##8972CC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#7A8395
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8972cc;
/* rgb */ color: rgb(137, 114, 204);
/* oklch */ color: oklch(61.3% 0.134 293.8);
Tailwind
colors: {
  custom: {
    50: '#ae9bdc',
    500: '#8972cc',
    950: '#000000',
  },
}
SCSS
$custom: #8972cc;
$custom-light: #ae9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8972cc",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 255.333,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.13407,
    "h": 293.8
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#8972CC
secondary
#D5DDBC
accent
#BA2B96
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8972CC

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

Preview Lab → · Contrast checker → · Palette generator →

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