#8972DF#8972DF

#8972DF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.4% C 0.160 H 290.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8972DF
RGBrgb(137, 114, 223)
HSLhsl(253, 63%, 66%)
HSVhsv(253, 49%, 87%)
CMYKcmyk(38.6%, 48.9%, 0%, 12.5%)
CIE-LABlab(54.74, 34.18, -52.77)
CIE-LCHlch(54.74, 62.87, 302.93°)
OKLaboklab(62.37% 0.0565 -0.1493)
OKLCHoklch(62.37% 0.16 290.7)
XYZxyz(29.6495, 22.6799, 72.6132)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972DF #C8DF72
analogous
#7291DF #8972DF #C072DF
triadic
#8972DF #DF8972 #72DF89
tetradic
#8972DF #DF7291 #C8DF72 #72DFC0
square
#8972DF #DF7291 #C8DF72 #72DFC0
split-complementary
#8972DF #DFC072 #91DF72
monochromatic
#4428AF #5F40D4 #8972DF #B3A4EA #DCD6F6

Accessibility & contrast

On white

3.79
#8972DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8972DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972DF#FFFFFF#000000##000000
##8972DF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#4A81DC
Tritanopia (blue-blind)
#72889E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8972df;
/* rgb */ color: rgb(137, 114, 223);
/* oklch */ color: oklch(62.4% 0.160 290.7);
Tailwind
colors: {
  custom: {
    50: '#af9be9',
    500: '#8972df',
    950: '#000000',
  },
}
SCSS
$custom: #8972df;
$custom-light: #af9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8972df",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 252.661,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62369,
    "c": 0.15966,
    "h": 290.7
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#8972DF
secondary
#E1E8C4
accent
#CB1BA6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8972DF

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

Preview Lab → · Contrast checker → · Palette generator →

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