#8974EB#8974EB

#8974EB is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.5% C 0.173 H 288.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8974EB
RGBrgb(137, 116, 235)
HSLhsl(251, 75%, 69%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(41.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(55.89, 36.32, -57.65)
CIE-LCHlch(55.89, 68.14, 302.21°)
OKLaboklab(63.45% 0.0551 -0.1636)
OKLCHoklch(63.45% 0.173 288.6)
XYZxyz(31.5531, 23.8062, 81.5137)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974EB #D6EB74
analogous
#749BEB #8974EB #C574EB
triadic
#8974EB #EB8974 #74EB89
tetradic
#8974EB #EB749B #D6EB74 #74EBC5
square
#8974EB #EB749B #D6EB74 #74EBC5
split-complementary
#8974EB #EBC574 #9BEB74
monochromatic
#3B1DC8 #5C3EE3 #8974EB #B6AAF3 #E4DFFA

Accessibility & contrast

On white

3.64
#8974EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8974EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974EB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974EB#FFFFFF#000000##000000
##8974EB1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#6D8DA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8974eb;
/* rgb */ color: rgb(137, 116, 235);
/* oklch */ color: oklch(63.5% 0.173 288.6);
Tailwind
colors: {
  custom: {
    50: '#b09cf2',
    500: '#8974eb',
    950: '#000000',
  },
}
SCSS
$custom: #8974eb;
$custom-light: #b09cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8974eb",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 250.588,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63453,
    "c": 0.17265,
    "h": 288.6
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#8974EB
secondary
#E9EFCC
accent
#D70FB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974EB

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

Preview Lab → · Contrast checker → · Palette generator →

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