#D974EA#D974EA

#D974EA is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.193 H 321.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D974EA
RGBrgb(217, 116, 234)
HSLhsl(291, 74%, 69%)
HSVhsv(291, 50%, 92%)
CMYKcmyk(7.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(64.31, 56.68, -43.21)
CIE-LCHlch(64.31, 71.27, 322.68°)
OKLaboklab(71.59% 0.1513 -0.1195)
OKLCHoklch(71.59% 0.193 321.7)
XYZxyz(49.7103, 33.1852, 81.6128)
Luminance0.3318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D974EA #85EA74
analogous
#9E74EA #D974EA #EA74C0
triadic
#D974EA #EAD974 #74EAD9
tetradic
#D974EA #EA9E74 #85EA74 #74C0EA
square
#D974EA #EA9E74 #85EA74 #74C0EA
split-complementary
#D974EA #C0EA74 #74EA9E
monochromatic
#AE1EC6 #CA3FE2 #D974EA #E8A9F2 #F6DEFA

Accessibility & contrast

On white

2.75
#D974EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D974EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D974EA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D974EA#FFFFFF#000000##000000
##D974EA1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#DB84A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d974ea;
/* rgb */ color: rgb(217, 116, 234);
/* oklch */ color: oklch(71.6% 0.193 321.7);
Tailwind
colors: {
  custom: {
    50: '#e7a0f1',
    500: '#d974ea',
    950: '#000000',
  },
}
SCSS
$custom: #d974ea;
$custom-light: #e7a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d974ea",
  "rgb": {
    "r": 217,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 291.356,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.19277,
    "h": 321.7
  },
  "luminance": 0.33183
}

Semantic roles & 50–950 ramp

primary
#D974EA
secondary
#D0EFCB
accent
#D6102C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D974EA

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

Preview Lab → · Contrast checker → · Palette generator →

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