#D974CA#D974CA

#D974CA is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.164 H 332.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D974CA
RGBrgb(217, 116, 202)
HSLhsl(309, 57%, 65%)
HSVhsv(309, 47%, 85%)
CMYKcmyk(0%, 46.5%, 6.9%, 14.9%)
CIE-LABlab(62.94, 50.96, -27.46)
CIE-LCHlch(62.94, 57.89, 331.68°)
OKLaboklab(70.12% 0.1458 -0.0745)
OKLCHoklch(70.12% 0.164 332.9)
XYZxyz(45.5211, 31.5095, 59.5499)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D974CA #74D983
analogous
#B574D9 #D974CA #D97497
triadic
#D974CA #CAD974 #74CAD9
tetradic
#D974CA #D9B574 #74D983 #7497D9
square
#D974CA #D9B574 #74D983 #7497D9
split-complementary
#D974CA #97D974 #74D9B5
monochromatic
#A52D94 #CC44B8 #D974CA #E6A4DC #F3D4EF

Accessibility & contrast

On white

2.88
#D974CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D974CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D974CA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D974CA#FFFFFF#000000##000000
##D974CA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#8E9EC7
Tritanopia (blue-blind)
#E17A96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d974ca;
/* rgb */ color: rgb(217, 116, 202);
/* oklch */ color: oklch(70.1% 0.164 332.9);
Tailwind
colors: {
  custom: {
    50: '#e79fda',
    500: '#d974ca',
    950: '#000000',
  },
}
SCSS
$custom: #d974ca;
$custom-light: #e79fda;
$custom-dark: #000000;
JSON
{
  "hex": "#d974ca",
  "rgb": {
    "r": 217,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 308.911,
    "s": 57.062,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70122,
    "c": 0.16374,
    "h": 332.9
  },
  "luminance": 0.31507
}

Semantic roles & 50–950 ramp

primary
#D974CA
secondary
#C3E5C8
accent
#C53921
background
#FEFAFD
surface
#FDF3FA
border
#D5CDD3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D974CA

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

Preview Lab → · Contrast checker → · Palette generator →

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