#D252D7#D252D7

#D252D7 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.222 H 326.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D252D7
RGBrgb(210, 82, 215)
HSLhsl(298, 62%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(2.3%, 61.9%, 0%, 15.7%)
CIE-LABlab(56.73, 66.93, -44.57)
CIE-LCHlch(56.73, 80.42, 326.34°)
OKLaboklab(65.55% 0.1844 -0.1234)
OKLCHoklch(65.55% 0.222 326.2)
XYZxyz(41.8606, 24.6451, 66.8289)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252D7 #57D752
analogous
#8F52D7 #D252D7 #D7529A
triadic
#D252D7 #D7D252 #52D7D2
tetradic
#D252D7 #D78F52 #57D752 #529AD7
square
#D252D7 #D78F52 #57D752 #529AD7
split-complementary
#D252D7 #9AD752 #52D78F
monochromatic
#8A218E #BA2CC0 #D252D7 #DF84E2 #ECB5EE

Accessibility & contrast

On white

3.54
#D252D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D252D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252D7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252D7#FFFFFF#000000##000000
##D252D71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDB
Deuteranopia (green-blind)
#6E8ED3
Tritanopia (blue-blind)
#D7648D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d252d7;
/* rgb */ color: rgb(210, 82, 215);
/* oklch */ color: oklch(65.5% 0.222 326.2);
Tailwind
colors: {
  custom: {
    50: '#e38be4',
    500: '#d252d7',
    950: '#000000',
  },
}
SCSS
$custom: #d252d7;
$custom-light: #e38be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d252d7",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 297.744,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6555,
    "c": 0.22184,
    "h": 326.2
  },
  "luminance": 0.24643
}

Semantic roles & 50–950 ramp

primary
#D252D7
secondary
#AADDA8
accent
#E64248
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #D252D7

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

Preview Lab → · Contrast checker → · Palette generator →

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