#8974EA#8974EA

#8974EA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.171 H 288.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8974EA
RGBrgb(137, 116, 234)
HSLhsl(251, 74%, 69%)
HSVhsv(251, 50%, 92%)
CMYKcmyk(41.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(55.84, 36.05, -57.18)
CIE-LCHlch(55.84, 67.60, 302.23°)
OKLaboklab(63.39% 0.055 -0.1623)
OKLCHoklch(63.39% 0.171 288.7)
XYZxyz(31.4091, 23.7486, 80.7550)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974EA #D5EA74
analogous
#749AEA #8974EA #C474EA
triadic
#8974EA #EA8974 #74EA89
tetradic
#8974EA #EA749A #D5EA74 #74EAC4
square
#8974EA #EA749A #D5EA74 #74EAC4
split-complementary
#8974EA #EAC474 #9AEA74
monochromatic
#3C1EC6 #5C3FE2 #8974EA #B6A9F2 #E3DEFA

Accessibility & contrast

On white

3.65
#8974EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8974EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974EA#FFFFFF#000000##000000
##8974EA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#6D8DA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8974ea;
/* rgb */ color: rgb(137, 116, 234);
/* oklch */ color: oklch(63.4% 0.171 288.7);
Tailwind
colors: {
  custom: {
    50: '#b09cf1',
    500: '#8974ea',
    950: '#000000',
  },
}
SCSS
$custom: #8974ea;
$custom-light: #b09cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8974ea",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 250.678,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6339,
    "c": 0.17133,
    "h": 288.7
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#8974EA
secondary
#E8EFCB
accent
#D610B3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974EA

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

Preview Lab → · Contrast checker → · Palette generator →

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