#D252D4#D252D4

#D252D4 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.219 H 327.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D252D4
RGBrgb(210, 82, 212)
HSLhsl(299, 60%, 58%)
HSVhsv(299, 61%, 83%)
CMYKcmyk(0.9%, 61.3%, 0%, 16.9%)
CIE-LABlab(56.58, 66.42, -43.11)
CIE-LCHlch(56.58, 79.19, 327.01°)
OKLaboklab(65.39% 0.1842 -0.1191)
OKLCHoklch(65.39% 0.219 327.1)
XYZxyz(41.4786, 24.4923, 64.8174)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252D4 #54D452
analogous
#9152D4 #D252D4 #D45295
triadic
#D252D4 #D4D252 #52D4D2
tetradic
#D252D4 #D49152 #54D452 #5295D4
square
#D252D4 #D49152 #54D452 #5295D4
split-complementary
#D252D4 #95D452 #52D491
monochromatic
#882289 #B82EBA #D252D4 #DF83E0 #EBB4EC

Accessibility & contrast

On white

3.56
#D252D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D252D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252D4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252D4#FFFFFF#000000##000000
##D252D41.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD8
Deuteranopia (green-blind)
#6F8ED0
Tritanopia (blue-blind)
#D8638C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d252d4;
/* rgb */ color: rgb(210, 82, 212);
/* oklch */ color: oklch(65.4% 0.219 327.1);
Tailwind
colors: {
  custom: {
    50: '#e38be2',
    500: '#d252d4',
    950: '#000000',
  },
}
SCSS
$custom: #d252d4;
$custom-light: #e38be2;
$custom-dark: #000000;
JSON
{
  "hex": "#d252d4",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 299.077,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65392,
    "c": 0.21936,
    "h": 327.1
  },
  "luminance": 0.2449
}

Semantic roles & 50–950 ramp

primary
#D252D4
secondary
#A8DBA7
accent
#E34447
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D252D4

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

Preview Lab → · Contrast checker → · Palette generator →

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