#D974CD#D974CD

#D974CD is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.166 H 331.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D974CD
RGBrgb(217, 116, 205)
HSLhsl(307, 57%, 65%)
HSVhsv(307, 47%, 85%)
CMYKcmyk(0%, 46.5%, 5.5%, 14.9%)
CIE-LABlab(63.05, 51.47, -28.97)
CIE-LCHlch(63.05, 59.06, 330.63°)
OKLaboklab(70.25% 0.1465 -0.0787)
OKLCHoklch(70.25% 0.166 331.7)
XYZxyz(45.8798, 31.6530, 61.4388)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D974CD #74D980
analogous
#B374D9 #D974CD #D9749A
triadic
#D974CD #CDD974 #74CDD9
tetradic
#D974CD #D9B374 #74D980 #749AD9
square
#D974CD #D9B374 #74D980 #749AD9
split-complementary
#D974CD #9AD974 #74D9B3
monochromatic
#A52D97 #CC44BC #D974CD #E6A4DE #F3D4F0

Accessibility & contrast

On white

2.86
#D974CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D974CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D974CD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D974CD#FFFFFF#000000##000000
##D974CD1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#E07B97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d974cd;
/* rgb */ color: rgb(217, 116, 205);
/* oklch */ color: oklch(70.3% 0.166 331.7);
Tailwind
colors: {
  custom: {
    50: '#e79fdc',
    500: '#d974cd',
    950: '#000000',
  },
}
SCSS
$custom: #d974cd;
$custom-light: #e79fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d974cd",
  "rgb": {
    "r": 217,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 307.129,
    "s": 57.062,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.16628,
    "h": 331.7
  },
  "luminance": 0.3165
}

Semantic roles & 50–950 ramp

primary
#D974CD
secondary
#C3E5C7
accent
#C53421
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D974CD

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

Preview Lab → · Contrast checker → · Palette generator →

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