#8972FC#8972FC

#8972FC is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.2% C 0.197 H 287.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8972FC
RGBrgb(137, 114, 252)
HSLhsl(250, 96%, 72%)
HSVhsv(250, 55%, 99%)
CMYKcmyk(45.6%, 54.8%, 0%, 1.2%)
CIE-LABlab(56.47, 42.23, -66.17)
CIE-LCHlch(56.47, 78.50, 302.55°)
OKLaboklab(64.21% 0.0581 -0.1887)
OKLCHoklch(64.21% 0.197 287.1)
XYZxyz(33.8995, 24.3799, 94.9962)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972FC #E5FC72
analogous
#72A0FC #8972FC #CE72FC
triadic
#8972FC #FC8972 #72FC89
tetradic
#8972FC #FC72A0 #E5FC72 #72FCCE
square
#8972FC #FC72A0 #E5FC72 #72FCCE
split-complementary
#8972FC #FCCE72 #A0FC72
monochromatic
#2C05EF #5736FB #8972FC #BBAEFD #E6E1FE

Accessibility & contrast

On white

3.57
#8972FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8972FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972FC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972FC#FFFFFF#000000##000000
##8972FC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#2084F9
Tritanopia (blue-blind)
#6490AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8972fc;
/* rgb */ color: rgb(137, 114, 252);
/* oklch */ color: oklch(64.2% 0.197 287.1);
Tailwind
colors: {
  custom: {
    50: '#b29bfe',
    500: '#8972fc',
    950: '#000000',
  },
}
SCSS
$custom: #8972fc;
$custom-light: #b29bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8972fc",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 250,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64209,
    "c": 0.19742,
    "h": 287.1
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#8972FC
secondary
#F1F6D3
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8972FC

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

Preview Lab → · Contrast checker → · Palette generator →

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