#8972FB#8972FB

#8972FB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.196 H 287.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8972FB
RGBrgb(137, 114, 251)
HSLhsl(250, 94%, 72%)
HSVhsv(250, 55%, 98%)
CMYKcmyk(45.4%, 54.6%, 0%, 1.6%)
CIE-LABlab(56.40, 41.95, -65.71)
CIE-LCHlch(56.40, 77.96, 302.55°)
OKLaboklab(64.14% 0.0581 -0.1873)
OKLCHoklch(64.14% 0.196 287.2)
XYZxyz(33.7414, 24.3166, 94.1638)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972FB #E4FB72
analogous
#72A0FB #8972FB #CE72FB
triadic
#8972FB #FB8972 #72FB89
tetradic
#8972FB #FB72A0 #E4FB72 #72FBCE
square
#8972FB #FB72A0 #E4FB72 #72FBCE
split-complementary
#8972FB #FBCE72 #A0FB72
monochromatic
#2D07EC #5736F9 #8972FB #BBAEFD #E6E1FE

Accessibility & contrast

On white

3.58
#8972FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8972FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972FB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972FB#FFFFFF#000000##000000
##8972FB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#2384F8
Tritanopia (blue-blind)
#6490AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8972fb;
/* rgb */ color: rgb(137, 114, 251);
/* oklch */ color: oklch(64.1% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#b29bfd',
    500: '#8972fb',
    950: '#000000',
  },
}
SCSS
$custom: #8972fb;
$custom-light: #b29bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8972fb",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 250.073,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.19615,
    "h": 287.2
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#8972FB
secondary
#F0F6D3
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8972FB

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

Preview Lab → · Contrast checker → · Palette generator →

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