#D974EE#D974EE

#D974EE is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.197 H 320.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D974EE
RGBrgb(217, 116, 238)
HSLhsl(290, 78%, 69%)
HSVhsv(290, 51%, 93%)
CMYKcmyk(8.8%, 51.3%, 0%, 6.7%)
CIE-LABlab(64.50, 57.44, -45.13)
CIE-LCHlch(64.50, 73.05, 321.84°)
OKLaboklab(71.79% 0.1517 -0.125)
OKLCHoklch(71.79% 0.197 320.5)
XYZxyz(50.2914, 33.4176, 84.6735)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D974EE #89EE74
analogous
#9C74EE #D974EE #EE74C6
triadic
#D974EE #EED974 #74EED9
tetradic
#D974EE #EE9C74 #89EE74 #74C6EE
square
#D974EE #EE9C74 #89EE74 #74C6EE
split-complementary
#D974EE #C6EE74 #74EE9C
monochromatic
#AF19CE #CA3DE7 #D974EE #E8ABF5 #F7E1FB

Accessibility & contrast

On white

2.73
#D974EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D974EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D974EE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D974EE#FFFFFF#000000##000000
##D974EE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#DB85A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d974ee;
/* rgb */ color: rgb(217, 116, 238);
/* oklch */ color: oklch(71.8% 0.197 320.5);
Tailwind
colors: {
  custom: {
    50: '#e7a0f4',
    500: '#d974ee',
    950: '#000000',
  },
}
SCSS
$custom: #d974ee;
$custom-light: #e7a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d974ee",
  "rgb": {
    "r": 217,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 289.672,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.19662,
    "h": 320.5
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#D974EE
secondary
#D3F0CD
accent
#DA0B2F
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D974EE

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

Preview Lab → · Contrast checker → · Palette generator →

#D974EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva