#8972DC#8972DC

#8972DC is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.156 H 291.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8972DC
RGBrgb(137, 114, 220)
HSLhsl(253, 60%, 65%)
HSVhsv(253, 48%, 86%)
CMYKcmyk(37.7%, 48.2%, 0%, 13.7%)
CIE-LABlab(54.57, 33.37, -51.35)
CIE-LCHlch(54.57, 61.24, 303.02°)
OKLaboklab(62.19% 0.0562 -0.1452)
OKLCHoklch(62.19% 0.156 291.2)
XYZxyz(29.2486, 22.5195, 70.5019)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972DC #C5DC72
analogous
#7290DC #8972DC #BE72DC
triadic
#8972DC #DC8972 #72DC89
tetradic
#8972DC #DC7290 #C5DC72 #72DCBE
square
#8972DC #DC7290 #C5DC72 #72DCBE
split-complementary
#8972DC #DCBE72 #90DC72
monochromatic
#462AAA #6041D0 #8972DC #B2A3E8 #DBD4F4

Accessibility & contrast

On white

3.82
#8972DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8972DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972DC#FFFFFF#000000##000000
##8972DC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#4D80DA
Tritanopia (blue-blind)
#74879D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8972dc;
/* rgb */ color: rgb(137, 114, 220);
/* oklch */ color: oklch(62.2% 0.156 291.2);
Tailwind
colors: {
  custom: {
    50: '#af9be7',
    500: '#8972dc',
    950: '#000000',
  },
}
SCSS
$custom: #8972dc;
$custom-light: #af9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8972dc",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 253.019,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.15567,
    "h": 291.2
  },
  "luminance": 0.2252
}

Semantic roles & 50–950 ramp

primary
#8972DC
secondary
#DFE7C3
accent
#C81EA3
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8972DC

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

Preview Lab → · Contrast checker → · Palette generator →

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