#D752DC#D752DC

#D752DC is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.229 H 326.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#D752DC
RGBrgb(215, 82, 220)
HSLhsl(298, 66%, 59%)
HSVhsv(298, 63%, 86%)
CMYKcmyk(2.3%, 62.7%, 0%, 13.7%)
CIE-LABlab(57.70, 68.98, -45.81)
CIE-LCHlch(57.70, 82.80, 326.41°)
OKLaboklab(66.49% 0.1901 -0.1268)
OKLCHoklch(66.49% 0.229 326.3)
XYZxyz(43.9591, 25.6517, 70.3322)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752DC #57DC52
analogous
#9252DC #D752DC #DC529C
triadic
#D752DC #DCD752 #52DCD7
tetradic
#D752DC #DC9252 #57DC52 #529CDC
square
#D752DC #DC9252 #57DC52 #529CDC
split-complementary
#D752DC #9CDC52 #52DC92
monochromatic
#911E95 #C229C8 #D752DC #E385E6 #EFB8F1

Accessibility & contrast

On white

3.43
#D752DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#D752DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752DC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752DC#FFFFFF#000000##000000
##D752DC1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#6F90D8
Tritanopia (blue-blind)
#DC6590
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d752dc;
/* rgb */ color: rgb(215, 82, 220);
/* oklch */ color: oklch(66.5% 0.229 326.3);
Tailwind
colors: {
  custom: {
    50: '#e78be7',
    500: '#d752dc',
    950: '#000000',
  },
}
SCSS
$custom: #d752dc;
$custom-light: #e78be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d752dc",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 297.826,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.22851,
    "h": 326.3
  },
  "luminance": 0.25649
}

Semantic roles & 50–950 ramp

primary
#D752DC
secondary
#ACE0AA
accent
#E93F45
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D752DC

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

Preview Lab → · Contrast checker → · Palette generator →

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