#8972F9#8972F9

#8972F9 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.194 H 287.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8972F9
RGBrgb(137, 114, 249)
HSLhsl(250, 92%, 71%)
HSVhsv(250, 54%, 98%)
CMYKcmyk(45%, 54.2%, 0%, 2.4%)
CIE-LABlab(56.28, 41.39, -64.81)
CIE-LCHlch(56.28, 76.90, 302.56°)
OKLaboklab(64.01% 0.0581 -0.1847)
OKLCHoklch(64.01% 0.194 287.5)
XYZxyz(33.4278, 24.1912, 92.5122)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972F9 #E2F972
analogous
#729EF9 #8972F9 #CC72F9
triadic
#8972F9 #F98972 #72F989
tetradic
#8972F9 #F9729E #E2F972 #72F9CC
square
#8972F9 #F9729E #E2F972 #72F9CC
split-complementary
#8972F9 #F9CC72 #9EF972
monochromatic
#2F0AE7 #5837F7 #8972F9 #BAADFB #E6E2FE

Accessibility & contrast

On white

3.60
#8972F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8972F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972F9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972F9#FFFFFF#000000##000000
##8972F91.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFE
Deuteranopia (green-blind)
#2883F6
Tritanopia (blue-blind)
#6690AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8972f9;
/* rgb */ color: rgb(137, 114, 249);
/* oklch */ color: oklch(64.0% 0.194 287.5);
Tailwind
colors: {
  custom: {
    50: '#b29bfc',
    500: '#8972f9',
    950: '#000000',
  },
}
SCSS
$custom: #8972f9;
$custom-light: #b29bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8972f9",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 250.222,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6401,
    "c": 0.19359,
    "h": 287.5
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#8972F9
secondary
#EFF5D2
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8972F9

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

Preview Lab → · Contrast checker → · Palette generator →

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