#D252DD#D252DD

#D252DD is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.227 H 324.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D252DD
RGBrgb(210, 82, 221)
HSLhsl(295, 67%, 59%)
HSVhsv(295, 63%, 87%)
CMYKcmyk(5%, 62.9%, 0%, 13.3%)
CIE-LABlab(57.04, 67.97, -47.48)
CIE-LCHlch(57.04, 82.91, 325.06°)
OKLaboklab(65.87% 0.1846 -0.1318)
OKLCHoklch(65.87% 0.227 324.5)
XYZxyz(42.6457, 24.9592, 70.9640)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252DD #5DDD52
analogous
#8D52DD #D252DD #DD52A3
triadic
#D252DD #DDD252 #52DDD2
tetradic
#D252DD #DD8D52 #5DDD52 #52A3DD
square
#D252DD #DD8D52 #5DDD52 #52A3DD
split-complementary
#D252DD #A3DD52 #52DD8D
monochromatic
#8D1E97 #BD28CA #D252DD #DF85E7 #EDB8F1

Accessibility & contrast

On white

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

On black

5.99
#D252DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252DD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252DD#FFFFFF#000000##000000
##D252DD1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#D66791
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d252dd;
/* rgb */ color: rgb(210, 82, 221);
/* oklch */ color: oklch(65.9% 0.227 324.5);
Tailwind
colors: {
  custom: {
    50: '#e38be8',
    500: '#d252dd',
    950: '#000000',
  },
}
SCSS
$custom: #d252dd;
$custom-light: #e38be8;
$custom-dark: #000000;
JSON
{
  "hex": "#d252dd",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 295.252,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65873,
    "c": 0.22685,
    "h": 324.5
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

primary
#D252DD
secondary
#AFE0AA
accent
#EA3E4B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D252DD

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

Preview Lab → · Contrast checker → · Palette generator →

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