#D252DC#D252DC

#D252DC is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.226 H 324.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D252DC
RGBrgb(210, 82, 220)
HSLhsl(296, 66%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(56.98, 67.80, -47.00)
CIE-LCHlch(56.98, 82.49, 325.27°)
OKLaboklab(65.82% 0.1846 -0.1304)
OKLCHoklch(65.82% 0.226 324.8)
XYZxyz(42.5129, 24.9060, 70.2644)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252DC #5CDC52
analogous
#8D52DC #D252DC #DC52A1
triadic
#D252DC #DCD252 #52DCD2
tetradic
#D252DC #DC8D52 #5CDC52 #52A1DC
square
#D252DC #DC8D52 #5CDC52 #52A1DC
split-complementary
#D252DC #A1DC52 #52DC8D
monochromatic
#8D1E95 #BD29C8 #D252DC #DF85E6 #ECB8F1

Accessibility & contrast

On white

3.51
#D252DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D252DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252DC#FFFFFF#000000##000000
##D252DC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#D66690
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d252dc;
/* rgb */ color: rgb(210, 82, 220);
/* oklch */ color: oklch(65.8% 0.226 324.8);
Tailwind
colors: {
  custom: {
    50: '#e38be7',
    500: '#d252dc',
    950: '#000000',
  },
}
SCSS
$custom: #d252dc;
$custom-light: #e38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d252dc",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 295.652,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65818,
    "c": 0.22601,
    "h": 324.8
  },
  "luminance": 0.24904
}

Semantic roles & 50–950 ramp

primary
#D252DC
secondary
#AEE0AA
accent
#E93F4B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D252DC

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

Preview Lab → · Contrast checker → · Palette generator →

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