#D752E1#D752E1

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

Color values

HEX#D752E1
RGBrgb(215, 82, 225)
HSLhsl(296, 70%, 60%)
HSVhsv(296, 64%, 88%)
CMYKcmyk(4.4%, 63.6%, 0%, 11.8%)
CIE-LABlab(57.96, 69.83, -48.22)
CIE-LCHlch(57.96, 84.86, 325.37°)
OKLaboklab(66.75% 0.1903 -0.1338)
OKLCHoklch(66.75% 0.233 324.9)
XYZxyz(44.6312, 25.9206, 73.8719)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752E1 #5CE152
analogous
#8F52E1 #D752E1 #E152A4
triadic
#D752E1 #E1D752 #52E1D7
tetradic
#D752E1 #E18F52 #5CE152 #52A4E1
square
#D752E1 #E18F52 #5CE152 #52A4E1
split-complementary
#D752E1 #A4E152 #52E18F
monochromatic
#941B9D #C524D1 #D752E1 #E386EA #EFBAF3

Accessibility & contrast

On white

3.40
#D752E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D752E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752E1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752E1#FFFFFF#000000##000000
##D752E11.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E5
Deuteranopia (green-blind)
#6C91DD
Tritanopia (blue-blind)
#DC6793
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d752e1;
/* rgb */ color: rgb(215, 82, 225);
/* oklch */ color: oklch(66.8% 0.233 324.9);
Tailwind
colors: {
  custom: {
    50: '#e78ceb',
    500: '#d752e1',
    950: '#000000',
  },
}
SCSS
$custom: #d752e1;
$custom-light: #e78ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#d752e1",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 295.804,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66754,
    "c": 0.23262,
    "h": 324.9
  },
  "luminance": 0.25918
}

Semantic roles & 50–950 ramp

primary
#D752E1
secondary
#B0E3AC
accent
#D21320
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D752E1

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

Preview Lab → · Contrast checker → · Palette generator →

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