#D252CB#D252CB

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

Color values

HEX#D252CB
RGBrgb(210, 82, 203)
HSLhsl(303, 59%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 61%, 3.3%, 17.6%)
CIE-LABlab(56.14, 64.92, -38.68)
CIE-LCHlch(56.14, 75.57, 329.21°)
OKLaboklab(64.93% 0.1835 -0.1063)
OKLCHoklch(64.93% 0.212 329.9)
XYZxyz(40.3748, 24.0508, 59.0041)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252CB #52D259
analogous
#9952D2 #D252CB #D2528B
triadic
#D252CB #CBD252 #52CBD2
tetradic
#D252CB #D29952 #52D259 #528BD2
square
#D252CB #D29952 #52D259 #528BD2
split-complementary
#D252CB #8BD252 #52D299
monochromatic
#872381 #B730B0 #D252CB #DF83DA #EBB3E8

Accessibility & contrast

On white

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

On black

5.81
#D252CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252CB#FFFFFF#000000##000000
##D252CB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#D96087
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d252cb;
/* rgb */ color: rgb(210, 82, 203);
/* oklch */ color: oklch(64.9% 0.212 329.9);
Tailwind
colors: {
  custom: {
    50: '#e38bdb',
    500: '#d252cb',
    950: '#000000',
  },
}
SCSS
$custom: #d252cb;
$custom-light: #e38bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d252cb",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 303.281,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6493,
    "c": 0.21206,
    "h": 329.9
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D252CB

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

Preview Lab → · Contrast checker → · Palette generator →

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