#8972E7#8972E7

#8972E7 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.170 H 289.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8972E7
RGBrgb(137, 114, 231)
HSLhsl(252, 71%, 68%)
HSVhsv(252, 51%, 91%)
CMYKcmyk(40.7%, 50.6%, 0%, 9.4%)
CIE-LABlab(55.20, 36.38, -56.53)
CIE-LCHlch(55.20, 67.22, 302.76°)
OKLaboklab(62.86% 0.0572 -0.1603)
OKLCHoklch(62.86% 0.17 289.6)
XYZxyz(30.7537, 23.1215, 78.4284)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972E7 #D0E772
analogous
#7295E7 #8972E7 #C472E7
triadic
#8972E7 #E78972 #72E789
tetradic
#8972E7 #E77295 #D0E772 #72E7C4
square
#8972E7 #E77295 #D0E772 #72E7C4
split-complementary
#8972E7 #E7C472 #95E772
monochromatic
#3F20BE #5D3EDE #8972E7 #B5A6F0 #E1DBF9

Accessibility & contrast

On white

3.73
#8972E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8972E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972E7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972E7#FFFFFF#000000##000000
##8972E71.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EB
Deuteranopia (green-blind)
#4281E4
Tritanopia (blue-blind)
#6F8AA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8972e7;
/* rgb */ color: rgb(137, 114, 231);
/* oklch */ color: oklch(62.9% 0.170 289.6);
Tailwind
colors: {
  custom: {
    50: '#b09bef',
    500: '#8972e7',
    950: '#000000',
  },
}
SCSS
$custom: #8972e7;
$custom-light: #b09bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8972e7",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 251.795,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62858,
    "c": 0.17025,
    "h": 289.6
  },
  "luminance": 0.23123
}

Semantic roles & 50–950 ramp

primary
#8972E7
secondary
#E5EDC8
accent
#D313AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8972E7

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

Preview Lab → · Contrast checker → · Palette generator →

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