#8972F5#8972F5

#8972F5 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.188 H 287.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8972F5
RGBrgb(137, 114, 245)
HSLhsl(251, 87%, 70%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(44.1%, 53.5%, 0%, 3.9%)
CIE-LABlab(56.03, 40.27, -62.99)
CIE-LCHlch(56.03, 74.76, 302.59°)
OKLaboklab(63.75% 0.0579 -0.1793)
OKLCHoklch(63.75% 0.188 287.9)
XYZxyz(32.8106, 23.9443, 89.2614)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972F5 #DEF572
analogous
#729DF5 #8972F5 #CA72F5
triadic
#8972F5 #F58972 #72F589
tetradic
#8972F5 #F5729D #DEF572 #72F5CA
square
#8972F5 #F5729D #DEF572 #72F5CA
split-complementary
#8972F5 #F5CA72 #9DF572
monochromatic
#3410DD #5939F1 #8972F5 #B9ABF9 #E7E2FD

Accessibility & contrast

On white

3.63
#8972F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8972F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972F5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972F5#FFFFFF#000000##000000
##8972F51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#2F83F2
Tritanopia (blue-blind)
#688EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8972f5;
/* rgb */ color: rgb(137, 114, 245);
/* oklch */ color: oklch(63.7% 0.188 287.9);
Tailwind
colors: {
  custom: {
    50: '#b19bf9',
    500: '#8972f5',
    950: '#000000',
  },
}
SCSS
$custom: #8972f5;
$custom-light: #b19bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8972f5",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 250.534,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63748,
    "c": 0.18846,
    "h": 287.9
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

primary
#8972F5
secondary
#EDF3CF
accent
#E302BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972F5

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

Preview Lab → · Contrast checker → · Palette generator →

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