#D752EC#D752EC

#D752EC is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.4% C 0.242 H 321.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D752EC
RGBrgb(215, 82, 236)
HSLhsl(292, 80%, 62%)
HSVhsv(292, 65%, 93%)
CMYKcmyk(8.9%, 65.3%, 0%, 7.5%)
CIE-LABlab(58.55, 71.76, -53.46)
CIE-LCHlch(58.55, 89.48, 323.31°)
OKLaboklab(67.36% 0.1904 -0.1491)
OKLCHoklch(67.36% 0.242 321.9)
XYZxyz(46.1803, 26.5402, 82.0309)
Luminance0.2654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752EC #67EC52
analogous
#8A52EC #D752EC #EC52B4
triadic
#D752EC #ECD752 #52ECD7
tetradic
#D752EC #EC8A52 #67EC52 #52B4EC
square
#D752EC #EC8A52 #67EC52 #52B4EC
split-complementary
#D752EC #B4EC52 #52EC8A
monochromatic
#9B13B0 #CA1BE6 #D752EC #E489F2 #F0C0F8

Accessibility & contrast

On white

3.33
#D752EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D752EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752EC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752EC#FFFFFF#000000##000000
##D752EC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F1
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#D96C99
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d752ec;
/* rgb */ color: rgb(215, 82, 236);
/* oklch */ color: oklch(67.4% 0.242 321.9);
Tailwind
colors: {
  custom: {
    50: '#e78cf3',
    500: '#d752ec',
    950: '#000000',
  },
}
SCSS
$custom: #d752ec;
$custom-light: #e78cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d752ec",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 291.818,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.24183,
    "h": 321.9
  },
  "luminance": 0.26538
}

Semantic roles & 50–950 ramp

primary
#D752EC
secondary
#B8E9B1
accent
#DD0926
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D752EC

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

Preview Lab → · Contrast checker → · Palette generator →

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