#D252CC#D252CC

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

Color values

HEX#D252CC
RGBrgb(210, 82, 204)
HSLhsl(303, 59%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 61%, 2.9%, 17.6%)
CIE-LABlab(56.19, 65.08, -39.17)
CIE-LCHlch(56.19, 75.96, 328.96°)
OKLaboklab(64.98% 0.1836 -0.1078)
OKLCHoklch(64.98% 0.213 329.6)
XYZxyz(40.4944, 24.0986, 59.6337)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252CC #52D258
analogous
#9852D2 #D252CC #D2528C
triadic
#D252CC #CCD252 #52CCD2
tetradic
#D252CC #D29852 #52D258 #528CD2
square
#D252CC #D29852 #52D258 #528CD2
split-complementary
#D252CC #8CD252 #52D298
monochromatic
#872382 #B730B1 #D252CC #DF83DA #EBB3E9

Accessibility & contrast

On white

3.61
#D252CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D252CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252CC#FFFFFF#000000##000000
##D252CC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#D96088
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d252cc;
/* rgb */ color: rgb(210, 82, 204);
/* oklch */ color: oklch(65.0% 0.213 329.6);
Tailwind
colors: {
  custom: {
    50: '#e38bdc',
    500: '#d252cc',
    950: '#000000',
  },
}
SCSS
$custom: #d252cc;
$custom-light: #e38bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d252cc",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 302.813,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64981,
    "c": 0.21286,
    "h": 329.6
  },
  "luminance": 0.24096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D252CC

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

Preview Lab → · Contrast checker → · Palette generator →

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