#8972CA#8972CA

#8972CA is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.2% C 0.131 H 294.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8972CA
RGBrgb(137, 114, 202)
HSLhsl(256, 45%, 62%)
HSVhsv(256, 44%, 79%)
CMYKcmyk(32.2%, 43.6%, 0%, 20.8%)
CIE-LABlab(53.62, 28.57, -42.67)
CIE-LCHlch(53.62, 51.35, 303.81°)
OKLaboklab(61.16% 0.0539 -0.1198)
OKLCHoklch(61.16% 0.131 294.2)
XYZxyz(26.9918, 21.6168, 58.6160)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972CA #B3CA72
analogous
#7287CA #8972CA #B572CA
triadic
#8972CA #CA8972 #72CA89
tetradic
#8972CA #CA7287 #B3CA72 #72CAB5
square
#8972CA #CA7287 #B3CA72 #72CAB5
split-complementary
#8972CA #CAB572 #87CA72
monochromatic
#4C358D #6446B9 #8972CA #AE9EDB #D3CBEB

Accessibility & contrast

On white

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

On black

5.32
#8972CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972CA#FFFFFF#000000##000000
##8972CA1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#7A8294
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8972ca;
/* rgb */ color: rgb(137, 114, 202);
/* oklch */ color: oklch(61.2% 0.131 294.2);
Tailwind
colors: {
  custom: {
    50: '#ae9bda',
    500: '#8972ca',
    950: '#000000',
  },
}
SCSS
$custom: #8972ca;
$custom-light: #ae9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8972ca",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 255.682,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.13135,
    "h": 294.2
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#8972CA
secondary
#D4DCBC
accent
#B92D94
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8972CA

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

Preview Lab → · Contrast checker → · Palette generator →

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