#8972EF#8972EF

#8972EF is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.181 H 288.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8972EF
RGBrgb(137, 114, 239)
HSLhsl(251, 80%, 69%)
HSVhsv(251, 52%, 94%)
CMYKcmyk(42.7%, 52.3%, 0%, 6.3%)
CIE-LABlab(55.67, 38.59, -60.24)
CIE-LCHlch(55.67, 71.54, 302.64°)
OKLaboklab(63.36% 0.0577 -0.1712)
OKLCHoklch(63.36% 0.181 288.6)
XYZxyz(31.9094, 23.5838, 84.5155)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972EF #D8EF72
analogous
#729AEF #8972EF #C872EF
triadic
#8972EF #EF8972 #72EF89
tetradic
#8972EF #EF729A #D8EF72 #72EFC8
square
#8972EF #EF729A #D8EF72 #72EFC8
split-complementary
#8972EF #EFC872 #9AEF72
monochromatic
#3918CF #5B3BE9 #8972EF #B7A9F5 #E5E0FB

Accessibility & contrast

On white

3.67
#8972EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8972EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972EF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972EF#FFFFFF#000000##000000
##8972EF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#6B8DA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8972ef;
/* rgb */ color: rgb(137, 114, 239);
/* oklch */ color: oklch(63.4% 0.181 288.6);
Tailwind
colors: {
  custom: {
    50: '#b19bf5',
    500: '#8972ef',
    950: '#000000',
  },
}
SCSS
$custom: #8972ef;
$custom-light: #b19bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8972ef",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 251.04,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63361,
    "c": 0.1807,
    "h": 288.6
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#8972EF
secondary
#EAF1CC
accent
#DC0AB5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972EF

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

Preview Lab → · Contrast checker → · Palette generator →

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