#8972DB#8972DB

#8972DB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.1% C 0.154 H 291.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8972DB
RGBrgb(137, 114, 219)
HSLhsl(253, 59%, 65%)
HSVhsv(253, 48%, 86%)
CMYKcmyk(37.4%, 47.9%, 0%, 14.1%)
CIE-LABlab(54.52, 33.10, -50.87)
CIE-LCHlch(54.52, 60.69, 303.05°)
OKLaboklab(62.13% 0.0561 -0.1438)
OKLCHoklch(62.13% 0.154 291.3)
XYZxyz(29.1166, 22.4667, 69.8065)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972DB #C4DB72
analogous
#728FDB #8972DB #BE72DB
triadic
#8972DB #DB8972 #72DB89
tetradic
#8972DB #DB728F #C4DB72 #72DBBE
square
#8972DB #DB728F #C4DB72 #72DBBE
split-complementary
#8972DB #DBBE72 #8FDB72
monochromatic
#462BA8 #6041CF #8972DB #B2A3E7 #DBD4F4

Accessibility & contrast

On white

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

On black

5.49
#8972DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972DB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972DB#FFFFFF#000000##000000
##8972DB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#4E80D9
Tritanopia (blue-blind)
#74879C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8972db;
/* rgb */ color: rgb(137, 114, 219);
/* oklch */ color: oklch(62.1% 0.154 291.3);
Tailwind
colors: {
  custom: {
    50: '#af9be7',
    500: '#8972db',
    950: '#000000',
  },
}
SCSS
$custom: #8972db;
$custom-light: #af9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8972db",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 253.143,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62131,
    "c": 0.15433,
    "h": 291.3
  },
  "luminance": 0.22467
}

Semantic roles & 50–950 ramp

primary
#8972DB
secondary
#DEE6C3
accent
#C71FA2
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8972DB

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

Preview Lab → · Contrast checker → · Palette generator →

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