#8972FE#8972FE

#8972FE is a light, vivid blue. Relative luminance 0.245; OKLCH L 64.3% C 0.200 H 286.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8972FE
RGBrgb(137, 114, 254)
HSLhsl(250, 99%, 72%)
HSVhsv(250, 55%, 100%)
CMYKcmyk(46.1%, 55.1%, 0%, 0.4%)
CIE-LABlab(56.59, 42.80, -67.07)
CIE-LCHlch(56.59, 79.56, 302.54°)
OKLaboklab(64.34% 0.0582 -0.1913)
OKLCHoklch(64.34% 0.2 286.9)
XYZxyz(34.2180, 24.5073, 96.6741)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972FE #E7FE72
analogous
#72A1FE #8972FE #CF72FE
triadic
#8972FE #FE8972 #72FE89
tetradic
#8972FE #FE72A1 #E7FE72 #72FECF
square
#8972FE #FE72A1 #E7FE72 #72FECF
split-complementary
#8972FE #FECF72 #A1FE72
monochromatic
#2A02F4 #5635FE #8972FE #BCAFFE #E6E1FF

Accessibility & contrast

On white

3.56
#8972FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8972FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972FE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972FE#FFFFFF#000000##000000
##8972FE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8BFF
Deuteranopia (green-blind)
#1B84FB
Tritanopia (blue-blind)
#6391AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8972fe;
/* rgb */ color: rgb(137, 114, 254);
/* oklch */ color: oklch(64.3% 0.200 286.9);
Tailwind
colors: {
  custom: {
    50: '#b29bff',
    500: '#8972fe',
    950: '#000000',
  },
}
SCSS
$custom: #8972fe;
$custom-light: #b29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8972fe",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 249.857,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.19996,
    "h": 286.9
  },
  "luminance": 0.24509
}

Semantic roles & 50–950 ramp

primary
#8972FE
secondary
#F1F7D4
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8972FE

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

Preview Lab → · Contrast checker → · Palette generator →

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