#D752FF#D752FF

#D752FF is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.5% C 0.258 H 317.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#D752FF
RGBrgb(215, 82, 255)
HSLhsl(286, 100%, 66%)
HSVhsv(286, 68%, 100%)
CMYKcmyk(15.7%, 67.8%, 0%, 0%)
CIE-LABlab(59.62, 75.21, -62.29)
CIE-LCHlch(59.62, 97.66, 320.37°)
OKLaboklab(68.48% 0.1898 -0.1749)
OKLCHoklch(68.48% 0.258 317.3)
XYZxyz(49.0890, 27.7037, 97.3499)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752FF #7AFF52
analogous
#8052FF #D752FF #FF52D0
triadic
#D752FF #FFD752 #52FFD7
tetradic
#D752FF #FF8052 #7AFF52 #52D0FF
square
#D752FF #FF8052 #7AFF52 #52D0FF
split-complementary
#D752FF #D0FF52 #52FF80
monochromatic
#A500D7 #C915FF #D752FF #E58FFF #F3CCFF

Accessibility & contrast

On white

3.21
#D752FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#D752FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752FF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752FF#FFFFFF#000000##000000
##D752FF1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#D573A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d752ff;
/* rgb */ color: rgb(215, 82, 255);
/* oklch */ color: oklch(68.5% 0.258 317.3);
Tailwind
colors: {
  custom: {
    50: '#e78cff',
    500: '#d752ff',
    950: '#000000',
  },
}
SCSS
$custom: #d752ff;
$custom-light: #e78cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d752ff",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 286.127,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68481,
    "c": 0.25808,
    "h": 317.3
  },
  "luminance": 0.27702
}

Semantic roles & 50–950 ramp

primary
#D752FF
secondary
#C7F3BA
accent
#E60035
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D752FF

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

Preview Lab → · Contrast checker → · Palette generator →

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