#8973EB#8973EB

#8973EB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.174 H 288.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8973EB
RGBrgb(137, 115, 235)
HSLhsl(251, 75%, 69%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(41.7%, 51.1%, 0%, 7.8%)
CIE-LABlab(55.66, 36.90, -58.02)
CIE-LCHlch(55.66, 68.76, 302.46°)
OKLaboklab(63.28% 0.0563 -0.1647)
OKLCHoklch(63.28% 0.174 288.9)
XYZxyz(31.4385, 23.5769, 81.4755)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8973EB #D5EB73
analogous
#7399EB #8973EB #C573EB
triadic
#8973EB #EB8973 #73EB89
tetradic
#8973EB #EB7399 #D5EB73 #73EBC5
square
#8973EB #EB7399 #D5EB73 #73EBC5
split-complementary
#8973EB #EBC573 #99EB73
monochromatic
#3C1CC7 #5C3DE3 #8973EB #B6A9F3 #E3DEFA

Accessibility & contrast

On white

3.67
#8973EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8973EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8973EB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8973EB#FFFFFF#000000##000000
##8973EB1.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)
#3E88EF
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#6D8CA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8973eb;
/* rgb */ color: rgb(137, 115, 235);
/* oklch */ color: oklch(63.3% 0.174 288.9);
Tailwind
colors: {
  custom: {
    50: '#b09bf2',
    500: '#8973eb',
    950: '#000000',
  },
}
SCSS
$custom: #8973eb;
$custom-light: #b09bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8973eb",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 251,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6328,
    "c": 0.17407,
    "h": 288.9
  },
  "luminance": 0.23578
}

Semantic roles & 50–950 ramp

primary
#8973EB
secondary
#E8EFCB
accent
#D70EB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8973EB

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

Preview Lab → · Contrast checker → · Palette generator →

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