#8972F4#8972F4

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

Color values

HEX#8972F4
RGBrgb(137, 114, 244)
HSLhsl(251, 86%, 70%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(43.9%, 53.3%, 0%, 4.3%)
CIE-LABlab(55.97, 39.99, -62.53)
CIE-LCHlch(55.97, 74.22, 302.60°)
OKLaboklab(63.68% 0.0579 -0.178)
OKLCHoklch(63.68% 0.187 288)
XYZxyz(32.6583, 23.8834, 88.4596)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972F4 #DDF472
analogous
#729CF4 #8972F4 #CA72F4
triadic
#8972F4 #F48972 #72F489
tetradic
#8972F4 #F4729C #DDF472 #72F4CA
square
#8972F4 #F4729C #DDF472 #72F4CA
split-complementary
#8972F4 #F4CA72 #9CF472
monochromatic
#3511DB #5939F0 #8972F4 #B9ABF8 #E7E3FD

Accessibility & contrast

On white

3.64
#8972F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8972F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972F4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972F4#FFFFFF#000000##000000
##8972F41.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F8
Deuteranopia (green-blind)
#3183F1
Tritanopia (blue-blind)
#688EA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8972f4;
/* rgb */ color: rgb(137, 114, 244);
/* oklch */ color: oklch(63.7% 0.187 288.0);
Tailwind
colors: {
  custom: {
    50: '#b19bf8',
    500: '#8972f4',
    950: '#000000',
  },
}
SCSS
$custom: #8972f4;
$custom-light: #b19bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8972f4",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 250.615,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.18716,
    "h": 288
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8972F4

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

Preview Lab → · Contrast checker → · Palette generator →

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