#D252D9#D252D9

#D252D9 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.224 H 325.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D252D9
RGBrgb(210, 82, 217)
HSLhsl(297, 64%, 59%)
HSVhsv(297, 62%, 85%)
CMYKcmyk(3.2%, 62.2%, 0%, 14.9%)
CIE-LABlab(56.83, 67.28, -45.55)
CIE-LCHlch(56.83, 81.24, 325.90°)
OKLaboklab(65.66% 0.1845 -0.1262)
OKLCHoklch(65.66% 0.224 325.6)
XYZxyz(42.1191, 24.7485, 68.1906)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252D9 #59D952
analogous
#8E52D9 #D252D9 #D9529C
triadic
#D252D9 #D9D252 #52D9D2
tetradic
#D252D9 #D98E52 #59D952 #529CD9
square
#D252D9 #D98E52 #59D952 #529CD9
split-complementary
#D252D9 #9CD952 #52D98E
monochromatic
#8B2091 #BB2BC3 #D252D9 #DF84E4 #ECB6EF

Accessibility & contrast

On white

3.53
#D252D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D252D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252D9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252D9#FFFFFF#000000##000000
##D252D91.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDD
Deuteranopia (green-blind)
#6C8ED5
Tritanopia (blue-blind)
#D7658E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d252d9;
/* rgb */ color: rgb(210, 82, 217);
/* oklch */ color: oklch(65.7% 0.224 325.6);
Tailwind
colors: {
  custom: {
    50: '#e38be5',
    500: '#d252d9',
    950: '#000000',
  },
}
SCSS
$custom: #d252d9;
$custom-light: #e38be5;
$custom-dark: #000000;
JSON
{
  "hex": "#d252d9",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 296.889,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65657,
    "c": 0.2235,
    "h": 325.6
  },
  "luminance": 0.24746
}

Semantic roles & 50–950 ramp

primary
#D252D9
secondary
#ABDEA9
accent
#E74149
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D252D9

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

Preview Lab → · Contrast checker → · Palette generator →

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