#8972EB#8972EB

#8972EB is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.175 H 289.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8972EB
RGBrgb(137, 114, 235)
HSLhsl(251, 75%, 68%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(41.7%, 51.5%, 0%, 7.8%)
CIE-LABlab(55.43, 37.48, -58.39)
CIE-LCHlch(55.43, 69.38, 302.70°)
OKLaboklab(63.11% 0.0575 -0.1658)
OKLCHoklch(63.11% 0.175 289.1)
XYZxyz(31.3251, 23.3501, 81.4377)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972EB #D4EB72
analogous
#7297EB #8972EB #C572EB
triadic
#8972EB #EB8972 #72EB89
tetradic
#8972EB #EB7297 #D4EB72 #72EBC5
square
#8972EB #EB7297 #D4EB72 #72EBC5
split-complementary
#8972EB #EBC572 #97EB72
monochromatic
#3D1CC6 #5C3CE3 #8972EB #B6A8F3 #E3DDFA

Accessibility & contrast

On white

3.70
#8972EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8972EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972EB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972EB#FFFFFF#000000##000000
##8972EB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#3D82E8
Tritanopia (blue-blind)
#6D8BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8972eb;
/* rgb */ color: rgb(137, 114, 235);
/* oklch */ color: oklch(63.1% 0.175 289.1);
Tailwind
colors: {
  custom: {
    50: '#b09bf2',
    500: '#8972eb',
    950: '#000000',
  },
}
SCSS
$custom: #8972eb;
$custom-light: #b09bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8972eb",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 251.405,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.17548,
    "h": 289.1
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#8972EB
secondary
#E8EFCA
accent
#D70EB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972EB

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

Preview Lab → · Contrast checker → · Palette generator →

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