#8974EE#8974EE

#8974EE is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.6% C 0.177 H 288.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8974EE
RGBrgb(137, 116, 238)
HSLhsl(250, 78%, 69%)
HSVhsv(250, 51%, 93%)
CMYKcmyk(42.4%, 51.3%, 0%, 6.7%)
CIE-LABlab(56.07, 37.16, -59.04)
CIE-LCHlch(56.07, 69.76, 302.19°)
OKLaboklab(63.64% 0.0553 -0.1677)
OKLCHoklch(63.64% 0.177 288.2)
XYZxyz(31.9902, 23.9810, 83.8156)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974EE #D9EE74
analogous
#749CEE #8974EE #C674EE
triadic
#8974EE #EE8974 #74EE89
tetradic
#8974EE #EE749C #D9EE74 #74EEC6
square
#8974EE #EE749C #D9EE74 #74EEC6
split-complementary
#8974EE #EEC674 #9CEE74
monochromatic
#3819CE #5B3DE7 #8974EE #B7ABF5 #E6E1FB

Accessibility & contrast

On white

3.62
#8974EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8974EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974EE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974EE#FFFFFF#000000##000000
##8974EE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#6B8EA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8974ee;
/* rgb */ color: rgb(137, 116, 238);
/* oklch */ color: oklch(63.6% 0.177 288.2);
Tailwind
colors: {
  custom: {
    50: '#b19cf4',
    500: '#8974ee',
    950: '#000000',
  },
}
SCSS
$custom: #8974ee;
$custom-light: #b19cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8974ee",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 250.328,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6364,
    "c": 0.17658,
    "h": 288.2
  },
  "luminance": 0.23982
}

Semantic roles & 50–950 ramp

primary
#8974EE
secondary
#EAF0CD
accent
#DA0BB7
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974EE

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

Preview Lab → · Contrast checker → · Palette generator →

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