#D752EF#D752EF

#D752EF is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.244 H 321.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D752EF
RGBrgb(215, 82, 239)
HSLhsl(291, 83%, 63%)
HSVhsv(291, 66%, 94%)
CMYKcmyk(10%, 65.7%, 0%, 6.3%)
CIE-LABlab(58.71, 72.29, -54.87)
CIE-LCHlch(58.71, 90.76, 322.80°)
OKLaboklab(67.54% 0.1904 -0.1532)
OKLCHoklch(67.54% 0.244 321.2)
XYZxyz(46.6198, 26.7160, 84.3457)
Luminance0.2671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752EF #6AEF52
analogous
#8852EF #D752EF #EF52B8
triadic
#D752EF #EFD752 #52EFD7
tetradic
#D752EF #EF8852 #6AEF52 #52B8EF
square
#D752EF #EF8852 #6AEF52 #52B8EF
split-complementary
#D752EF #B8EF52 #52EF88
monochromatic
#9D11B6 #CA1AEA #D752EF #E48AF4 #F1C2F9

Accessibility & contrast

On white

3.31
#D752EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D752EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752EF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752EF#FFFFFF#000000##000000
##D752EF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#D96D9A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d752ef;
/* rgb */ color: rgb(215, 82, 239);
/* oklch */ color: oklch(67.5% 0.244 321.2);
Tailwind
colors: {
  custom: {
    50: '#e78cf5',
    500: '#d752ef',
    950: '#000000',
  },
}
SCSS
$custom: #d752ef;
$custom-light: #e78cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d752ef",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 290.828,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67536,
    "c": 0.24437,
    "h": 321.2
  },
  "luminance": 0.26714
}

Semantic roles & 50–950 ramp

primary
#D752EF
secondary
#BBEBB2
accent
#DF0627
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D752EF

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

Preview Lab → · Contrast checker → · Palette generator →

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