#D252C7#D252C7

#D252C7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.209 H 331.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D252C7
RGBrgb(210, 82, 199)
HSLhsl(305, 59%, 57%)
HSVhsv(305, 61%, 82%)
CMYKcmyk(0%, 61%, 5.2%, 17.6%)
CIE-LABlab(55.95, 64.27, -36.69)
CIE-LCHlch(55.95, 74.00, 330.28°)
OKLaboklab(64.73% 0.1831 -0.1006)
OKLCHoklch(64.73% 0.209 331.2)
XYZxyz(39.9043, 23.8626, 56.5260)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252C7 #52D25D
analogous
#9D52D2 #D252C7 #D25287
triadic
#D252C7 #C7D252 #52C7D2
tetradic
#D252C7 #D29D52 #52D25D #5287D2
square
#D252C7 #D29D52 #52D25D #5287D2
split-complementary
#D252C7 #87D252 #52D29D
monochromatic
#87237E #B730AC #D252C7 #DF83D7 #EBB3E6

Accessibility & contrast

On white

3.64
#D252C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D252C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252C7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252C7#FFFFFF#000000##000000
##D252C71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#758DC4
Tritanopia (blue-blind)
#DA5E85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d252c7;
/* rgb */ color: rgb(210, 82, 199);
/* oklch */ color: oklch(64.7% 0.209 331.2);
Tailwind
colors: {
  custom: {
    50: '#e38ad8',
    500: '#d252c7',
    950: '#000000',
  },
}
SCSS
$custom: #d252c7;
$custom-light: #e38ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d252c7",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 305.156,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.20889,
    "h": 331.2
  },
  "luminance": 0.2386
}

Semantic roles & 50–950 ramp

primary
#D252C7
secondary
#A6DAAA
accent
#E25346
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D252C7

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

Preview Lab → · Contrast checker → · Palette generator →

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