#D252D6#D252D6

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

Color values

HEX#D252D6
RGBrgb(210, 82, 214)
HSLhsl(298, 62%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(1.9%, 61.7%, 0%, 16.1%)
CIE-LABlab(56.68, 66.76, -44.09)
CIE-LCHlch(56.68, 80.01, 326.56°)
OKLaboklab(65.5% 0.1843 -0.1219)
OKLCHoklch(65.5% 0.221 326.5)
XYZxyz(41.7325, 24.5939, 66.1543)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252D6 #56D652
analogous
#9052D6 #D252D6 #D65298
triadic
#D252D6 #D6D252 #52D6D2
tetradic
#D252D6 #D69052 #56D652 #5298D6
square
#D252D6 #D69052 #56D652 #5298D6
split-complementary
#D252D6 #98D652 #52D690
monochromatic
#89218C #B92DBE #D252D6 #DF83E2 #ECB5ED

Accessibility & contrast

On white

3.55
#D252D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D252D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252D6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252D6#FFFFFF#000000##000000
##D252D61.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d252d6;
/* rgb */ color: rgb(210, 82, 214);
/* oklch */ color: oklch(65.5% 0.221 326.5);
Tailwind
colors: {
  custom: {
    50: '#e38be3',
    500: '#d252d6',
    950: '#000000',
  },
}
SCSS
$custom: #d252d6;
$custom-light: #e38be3;
$custom-dark: #000000;
JSON
{
  "hex": "#d252d6",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 298.182,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.22101,
    "h": 326.5
  },
  "luminance": 0.24591
}

Semantic roles & 50–950 ramp

primary
#D252D6
secondary
#A9DCA8
accent
#E54348
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D252D6

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

Preview Lab → · Contrast checker → · Palette generator →

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