#D752CC#D752CC

#D752CC is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.216 H 331.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D752CC
RGBrgb(215, 82, 204)
HSLhsl(305, 62%, 58%)
HSVhsv(305, 62%, 84%)
CMYKcmyk(0%, 61.9%, 5.1%, 15.7%)
CIE-LABlab(56.92, 66.33, -37.97)
CIE-LCHlch(56.92, 76.43, 330.22°)
OKLaboklab(65.66% 0.1889 -0.1042)
OKLCHoklch(65.66% 0.216 331.1)
XYZxyz(41.9406, 24.8443, 59.7015)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752CC #52D75D
analogous
#9F52D7 #D752CC #D7528A
triadic
#D752CC #CCD752 #52CCD7
tetradic
#D752CC #D79F52 #52D75D #528AD7
square
#D752CC #D79F52 #52D75D #528AD7
split-complementary
#D752CC #8AD752 #52D79F
monochromatic
#8E2185 #C02CB3 #D752CC #E284DB #EEB5E9

Accessibility & contrast

On white

3.52
#D752CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D752CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752CC#FFFFFF#000000##000000
##D752CC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#DF5F88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d752cc;
/* rgb */ color: rgb(215, 82, 204);
/* oklch */ color: oklch(65.7% 0.216 331.1);
Tailwind
colors: {
  custom: {
    50: '#e78bdc',
    500: '#d752cc',
    950: '#000000',
  },
}
SCSS
$custom: #d752cc;
$custom-light: #e78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d752cc",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 304.962,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65664,
    "c": 0.21572,
    "h": 331.1
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#D752CC
secondary
#A8DDAC
accent
#E65042
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D752CC

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

Preview Lab → · Contrast checker → · Palette generator →

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