#D252CA#D252CA

#D252CA is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.211 H 330.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D252CA
RGBrgb(210, 82, 202)
HSLhsl(304, 59%, 57%)
HSVhsv(304, 61%, 82%)
CMYKcmyk(0%, 61%, 3.8%, 17.6%)
CIE-LABlab(56.09, 64.75, -38.18)
CIE-LCHlch(56.09, 75.17, 329.47°)
OKLaboklab(64.88% 0.1834 -0.1049)
OKLCHoklch(64.88% 0.211 330.2)
XYZxyz(40.2560, 24.0033, 58.3785)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252CA #52D25A
analogous
#9A52D2 #D252CA #D2528A
triadic
#D252CA #CAD252 #52CAD2
tetradic
#D252CA #D29A52 #52D25A #528AD2
square
#D252CA #D29A52 #52D25A #528AD2
split-complementary
#D252CA #8AD252 #52D29A
monochromatic
#872380 #B730AF #D252CA #DF83D9 #EBB3E8

Accessibility & contrast

On white

3.62
#D252CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D252CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252CA#FFFFFF#000000##000000
##D252CA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCE
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#D95F87
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d252ca;
/* rgb */ color: rgb(210, 82, 202);
/* oklch */ color: oklch(64.9% 0.211 330.2);
Tailwind
colors: {
  custom: {
    50: '#e38ada',
    500: '#d252ca',
    950: '#000000',
  },
}
SCSS
$custom: #d252ca;
$custom-light: #e38ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d252ca",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 303.75,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6488,
    "c": 0.21126,
    "h": 330.2
  },
  "luminance": 0.24
}

Semantic roles & 50–950 ramp

primary
#D252CA
secondary
#A6DAA9
accent
#E25046
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D252CA

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

Preview Lab → · Contrast checker → · Palette generator →

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