#D752F2#D752F2

#D752F2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.7% C 0.247 H 320.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D752F2
RGBrgb(215, 82, 242)
HSLhsl(290, 86%, 64%)
HSVhsv(290, 66%, 95%)
CMYKcmyk(11.2%, 66.1%, 0%, 5.1%)
CIE-LABlab(58.88, 72.83, -56.28)
CIE-LCHlch(58.88, 92.04, 322.31°)
OKLaboklab(67.71% 0.1904 -0.1573)
OKLCHoklch(67.71% 0.247 320.4)
XYZxyz(47.0667, 26.8948, 86.6992)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752F2 #6DF252
analogous
#8752F2 #D752F2 #F252BD
triadic
#D752F2 #F2D752 #52F2D7
tetradic
#D752F2 #F28752 #6DF252 #52BDF2
square
#D752F2 #F28752 #6DF252 #52BDF2
split-complementary
#D752F2 #BDF252 #52F287
monochromatic
#9E0EBC #CA19EE #D752F2 #E48BF6 #F1C4FB

Accessibility & contrast

On white

3.29
#D752F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D752F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752F2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752F2#FFFFFF#000000##000000
##D752F21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F7
Deuteranopia (green-blind)
#6192EE
Tritanopia (blue-blind)
#D86E9C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d752f2;
/* rgb */ color: rgb(215, 82, 242);
/* oklch */ color: oklch(67.7% 0.247 320.4);
Tailwind
colors: {
  custom: {
    50: '#e78cf7',
    500: '#d752f2',
    950: '#000000',
  },
}
SCSS
$custom: #d752f2;
$custom-light: #e78cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d752f2",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 289.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.24692,
    "h": 320.4
  },
  "luminance": 0.26892
}

Semantic roles & 50–950 ramp

primary
#D752F2
secondary
#BDECB4
accent
#E30329
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D752F2

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

Preview Lab → · Contrast checker → · Palette generator →

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