#D252DE#D252DE

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

Color values

HEX#D252DE
RGBrgb(210, 82, 222)
HSLhsl(295, 68%, 60%)
HSVhsv(295, 63%, 87%)
CMYKcmyk(5.4%, 63.1%, 0%, 12.9%)
CIE-LABlab(57.09, 68.15, -47.96)
CIE-LCHlch(57.09, 83.33, 324.86°)
OKLaboklab(65.93% 0.1847 -0.1332)
OKLCHoklch(65.93% 0.228 324.2)
XYZxyz(42.7793, 25.0126, 71.6677)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252DE #5EDE52
analogous
#8C52DE #D252DE #DE52A4
triadic
#D252DE #DED252 #52DED2
tetradic
#D252DE #DE8C52 #5EDE52 #52A4DE
square
#D252DE #DE8C52 #5EDE52 #52A4DE
split-complementary
#D252DE #A4DE52 #52DE8C
monochromatic
#8E1D99 #BE27CC #D252DE #DF85E8 #EDB9F2

Accessibility & contrast

On white

3.50
#D252DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D252DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252DE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252DE#FFFFFF#000000##000000
##D252DE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#6A8EDA
Tritanopia (blue-blind)
#D66791
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d252de;
/* rgb */ color: rgb(210, 82, 222);
/* oklch */ color: oklch(65.9% 0.228 324.2);
Tailwind
colors: {
  custom: {
    50: '#e38be9',
    500: '#d252de',
    950: '#000000',
  },
}
SCSS
$custom: #d252de;
$custom-light: #e38be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d252de",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 294.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65927,
    "c": 0.2277,
    "h": 324.2
  },
  "luminance": 0.2501
}

Semantic roles & 50–950 ramp

primary
#D252DE
secondary
#AFE1AB
accent
#EB3D4C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D252DE

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

Preview Lab → · Contrast checker → · Palette generator →

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