#D752F5#D752F5

#D752F5 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.9% C 0.249 H 319.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#D752F5
RGBrgb(215, 82, 245)
HSLhsl(289, 89%, 64%)
HSVhsv(289, 67%, 96%)
CMYKcmyk(12.2%, 66.5%, 0%, 3.9%)
CIE-LABlab(59.05, 73.37, -57.68)
CIE-LCHlch(59.05, 93.33, 321.83°)
OKLaboklab(67.88% 0.1903 -0.1614)
OKLCHoklch(67.88% 0.249 319.7)
XYZxyz(47.5210, 27.0765, 89.0917)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752F5 #70F552
analogous
#8652F5 #D752F5 #F552C2
triadic
#D752F5 #F5D752 #52F5D7
tetradic
#D752F5 #F58652 #70F552 #52C2F5
square
#D752F5 #F58652 #70F552 #52C2F5
split-complementary
#D752F5 #C2F552 #52F586
monochromatic
#A00BC1 #CA18F2 #D752F5 #E48CF8 #F2C6FC

Accessibility & contrast

On white

3.27
#D752F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#D752F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752F5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752F5#FFFFFF#000000##000000
##D752F51.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1085FA
Deuteranopia (green-blind)
#5F93F1
Tritanopia (blue-blind)
#D86F9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d752f5;
/* rgb */ color: rgb(215, 82, 245);
/* oklch */ color: oklch(67.9% 0.249 319.7);
Tailwind
colors: {
  custom: {
    50: '#e78cf9',
    500: '#d752f5',
    950: '#000000',
  },
}
SCSS
$custom: #d752f5;
$custom-light: #e78cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d752f5",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 288.957,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67884,
    "c": 0.24948,
    "h": 319.7
  },
  "luminance": 0.27074
}

Semantic roles & 50–950 ramp

primary
#D752F5
secondary
#BFEEB5
accent
#E6002A
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D752F5

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

Preview Lab → · Contrast checker → · Palette generator →

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