#D252DF#D252DF

#D252DF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.229 H 323.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D252DF
RGBrgb(210, 82, 223)
HSLhsl(294, 69%, 60%)
HSVhsv(294, 63%, 87%)
CMYKcmyk(5.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(57.14, 68.32, -48.44)
CIE-LCHlch(57.14, 83.75, 324.66°)
OKLaboklab(65.98% 0.1847 -0.1346)
OKLCHoklch(65.98% 0.229 323.9)
XYZxyz(42.9137, 25.0664, 72.3757)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252DF #5FDF52
analogous
#8C52DF #D252DF #DF52A6
triadic
#D252DF #DFD252 #52DFD2
tetradic
#D252DF #DF8C52 #5FDF52 #52A6DF
square
#D252DF #DF8C52 #5FDF52 #52A6DF
split-complementary
#D252DF #A6DF52 #52DF8C
monochromatic
#8F1D9A #BE26CE #D252DF #DF86E9 #EDB9F2

Accessibility & contrast

On white

3.49
#D252DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D252DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252DF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252DF#FFFFFF#000000##000000
##D252DF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#698EDB
Tritanopia (blue-blind)
#D66792
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d252df;
/* rgb */ color: rgb(210, 82, 223);
/* oklch */ color: oklch(66.0% 0.229 323.9);
Tailwind
colors: {
  custom: {
    50: '#e38be9',
    500: '#d252df',
    950: '#000000',
  },
}
SCSS
$custom: #d252df;
$custom-light: #e38be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d252df",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 294.468,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.22854,
    "h": 323.9
  },
  "luminance": 0.25064
}

Semantic roles & 50–950 ramp

primary
#D252DF
secondary
#B0E2AB
accent
#EC3C4C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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