#8974DC#8974DC

#8974DC is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.5% C 0.153 H 290.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8974DC
RGBrgb(137, 116, 220)
HSLhsl(252, 60%, 66%)
HSVhsv(252, 47%, 86%)
CMYKcmyk(37.7%, 47.3%, 0%, 13.7%)
CIE-LABlab(55.05, 32.20, -50.59)
CIE-LCHlch(55.05, 59.97, 302.48°)
OKLaboklab(62.54% 0.0537 -0.1429)
OKLCHoklch(62.54% 0.153 290.6)
XYZxyz(29.4767, 22.9757, 70.5780)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974DC #C7DC74
analogous
#7493DC #8974DC #BD74DC
triadic
#8974DC #DC8974 #74DC89
tetradic
#8974DC #DC7493 #C7DC74 #74DCBD
square
#8974DC #DC7493 #C7DC74 #74DCBD
split-complementary
#8974DC #DCBD74 #93DC74
monochromatic
#452BAB #5F43D0 #8974DC #B3A5E8 #DCD6F5

Accessibility & contrast

On white

3.75
#8974DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8974DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974DC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974DC#FFFFFF#000000##000000
##8974DC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#73899D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8974dc;
/* rgb */ color: rgb(137, 116, 220);
/* oklch */ color: oklch(62.5% 0.153 290.6);
Tailwind
colors: {
  custom: {
    50: '#af9ce7',
    500: '#8974dc',
    950: '#000000',
  },
}
SCSS
$custom: #8974dc;
$custom-light: #af9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8974dc",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 252.115,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.15269,
    "h": 290.6
  },
  "luminance": 0.22976
}

Semantic roles & 50–950 ramp

primary
#8974DC
secondary
#E0E7C5
accent
#C71EA5
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8974DC

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

Preview Lab → · Contrast checker → · Palette generator →

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