#D252CD#D252CD

#D252CD is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.214 H 329.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#D252CD
RGBrgb(210, 82, 205)
HSLhsl(302, 59%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 61%, 2.4%, 17.6%)
CIE-LABlab(56.23, 65.25, -39.67)
CIE-LCHlch(56.23, 76.36, 328.70°)
OKLaboklab(65.03% 0.1837 -0.1092)
OKLCHoklch(65.03% 0.214 329.3)
XYZxyz(40.6147, 24.1468, 60.2674)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252CD #52D257
analogous
#9752D2 #D252CD #D2528D
triadic
#D252CD #CDD252 #52CDD2
tetradic
#D252CD #D29752 #52D257 #528DD2
square
#D252CD #D29752 #52D257 #528DD2
split-complementary
#D252CD #8DD252 #52D297
monochromatic
#872383 #B730B2 #D252CD #DF83DB #EBB3E9

Accessibility & contrast

On white

3.60
#D252CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D252CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252CD#FFFFFF#000000##000000
##D252CD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#D96088
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d252cd;
/* rgb */ color: rgb(210, 82, 205);
/* oklch */ color: oklch(65.0% 0.214 329.3);
Tailwind
colors: {
  custom: {
    50: '#e38bdc',
    500: '#d252cd',
    950: '#000000',
  },
}
SCSS
$custom: #d252cd;
$custom-light: #e38bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d252cd",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 302.344,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.21366,
    "h": 329.3
  },
  "luminance": 0.24144
}

Semantic roles & 50–950 ramp

primary
#D252CD
secondary
#A6DAA8
accent
#E24C46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D252CD

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

Preview Lab → · Contrast checker → · Palette generator →

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