#D947C2#D947C2

#D947C2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.224 H 334.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D947C2
RGBrgb(217, 71, 194)
HSLhsl(309, 66%, 56%)
HSVhsv(309, 67%, 85%)
CMYKcmyk(0%, 67.3%, 10.6%, 14.9%)
CIE-LABlab(55.23, 69.54, -34.87)
CIE-LCHlch(55.23, 77.79, 333.37°)
OKLaboklab(64.34% 0.2023 -0.0951)
OKLCHoklch(64.34% 0.224 334.8)
XYZxyz(40.6065, 23.1566, 53.3595)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947C2 #47D95E
analogous
#A747D9 #D947C2 #D94779
triadic
#D947C2 #C2D947 #47C2D9
tetradic
#D947C2 #D9A747 #47D95E #4779D9
square
#D947C2 #D9A747 #47D95E #4779D9
split-complementary
#D947C2 #79D947 #47D9A7
monochromatic
#891C78 #BC27A4 #D947C2 #E37AD3 #EEACE4

Accessibility & contrast

On white

3.73
#D947C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D947C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947C2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947C2#FFFFFF#000000##000000
##D947C21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C6
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#E3527F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d947c2;
/* rgb */ color: rgb(217, 71, 194);
/* oklch */ color: oklch(64.3% 0.224 334.8);
Tailwind
colors: {
  custom: {
    50: '#e885d5',
    500: '#d947c2',
    950: '#000000',
  },
}
SCSS
$custom: #d947c2;
$custom-light: #e885d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d947c2",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 309.452,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64344,
    "c": 0.22359,
    "h": 334.8
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#D947C2
secondary
#A0DCA9
accent
#E95A3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D947C2

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

Preview Lab → · Contrast checker → · Palette generator →

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