#D752E2#D752E2

#D752E2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.233 H 324.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D752E2
RGBrgb(215, 82, 226)
HSLhsl(295, 71%, 60%)
HSVhsv(295, 64%, 89%)
CMYKcmyk(4.9%, 63.7%, 0%, 11.4%)
CIE-LABlab(58.01, 70.00, -48.70)
CIE-LCHlch(58.01, 85.28, 325.17°)
OKLaboklab(66.81% 0.1903 -0.1352)
OKLCHoklch(66.81% 0.233 324.6)
XYZxyz(44.7680, 25.9753, 74.5925)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752E2 #5DE252
analogous
#8F52E2 #D752E2 #E252A5
triadic
#D752E2 #E2D752 #52E2D7
tetradic
#D752E2 #E28F52 #5DE252 #52A5E2
square
#D752E2 #E28F52 #5DE252 #52A5E2
split-complementary
#D752E2 #A5E252 #52E28F
monochromatic
#951B9F #C623D3 #D752E2 #E386EB #EFBBF4

Accessibility & contrast

On white

3.39
#D752E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D752E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752E2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752E2#FFFFFF#000000##000000
##D752E21.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#DB6893
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d752e2;
/* rgb */ color: rgb(215, 82, 226);
/* oklch */ color: oklch(66.8% 0.233 324.6);
Tailwind
colors: {
  custom: {
    50: '#e78cec',
    500: '#d752e2',
    950: '#000000',
  },
}
SCSS
$custom: #d752e2;
$custom-light: #e78cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d752e2",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 295.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.23345,
    "h": 324.6
  },
  "luminance": 0.25973
}

Semantic roles & 50–950 ramp

primary
#D752E2
secondary
#B1E3AC
accent
#D31221
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D752E2

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

Preview Lab → · Contrast checker → · Palette generator →

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