#8972ED#8972ED

#8972ED is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.178 H 288.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8972ED
RGBrgb(137, 114, 237)
HSLhsl(251, 77%, 69%)
HSVhsv(251, 52%, 93%)
CMYKcmyk(42.2%, 51.9%, 0%, 7.1%)
CIE-LABlab(55.55, 38.03, -59.31)
CIE-LCHlch(55.55, 70.46, 302.67°)
OKLaboklab(63.23% 0.0576 -0.1685)
OKLCHoklch(63.23% 0.178 288.9)
XYZxyz(31.6156, 23.4663, 82.9680)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972ED #D6ED72
analogous
#7299ED #8972ED #C772ED
triadic
#8972ED #ED8972 #72ED89
tetradic
#8972ED #ED7299 #D6ED72 #72EDC7
square
#8972ED #ED7299 #D6ED72 #72EDC7
split-complementary
#8972ED #EDC772 #99ED72
monochromatic
#3B1ACB #5C3CE6 #8972ED #B6A8F4 #E4DFFB

Accessibility & contrast

On white

3.69
#8972ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8972ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972ED
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972ED#FFFFFF#000000##000000
##8972ED1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#3B82EA
Tritanopia (blue-blind)
#6C8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8972ed;
/* rgb */ color: rgb(137, 114, 237);
/* oklch */ color: oklch(63.2% 0.178 288.9);
Tailwind
colors: {
  custom: {
    50: '#b19bf3',
    500: '#8972ed',
    950: '#000000',
  },
}
SCSS
$custom: #8972ed;
$custom-light: #b19bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8972ed",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 251.22,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.17809,
    "h": 288.9
  },
  "luminance": 0.23467
}

Semantic roles & 50–950 ramp

primary
#8972ED
secondary
#E9F0CB
accent
#DA0CB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972ED

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

Preview Lab → · Contrast checker → · Palette generator →

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