#D052F9#D052F9

#D052F9 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.2% C 0.250 H 316.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D052F9
RGBrgb(208, 82, 249)
HSLhsl(285, 93%, 65%)
HSVhsv(285, 67%, 98%)
CMYKcmyk(16.5%, 67.1%, 0%, 2.4%)
CIE-LABlab(58.31, 72.63, -61.13)
CIE-LCHlch(58.31, 94.93, 319.91°)
OKLaboklab(67.23% 0.182 -0.1717)
OKLCHoklch(67.23% 0.25 316.7)
XYZxyz(46.1260, 26.2859, 92.2481)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052F9 #7BF952
analogous
#7C52F9 #D052F9 #F952CF
triadic
#D052F9 #F9D052 #52F9D0
tetradic
#D052F9 #F97C52 #7BF952 #52CFF9
square
#D052F9 #F97C52 #7BF952 #52CFF9
split-complementary
#D052F9 #CFF952 #52F97C
monochromatic
#9A07CA #C017F7 #D052F9 #E08DFB #F0C8FD

Accessibility & contrast

On white

3.36
#D052F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D052F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052F9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052F9#FFFFFF#000000##000000
##D052F91.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#CE72A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d052f9;
/* rgb */ color: rgb(208, 82, 249);
/* oklch */ color: oklch(67.2% 0.250 316.7);
Tailwind
colors: {
  custom: {
    50: '#e28cfc',
    500: '#d052f9',
    950: '#000000',
  },
}
SCSS
$custom: #d052f9;
$custom-light: #e28cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d052f9",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 249
  },
  "hsl": {
    "h": 285.269,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67231,
    "c": 0.25022,
    "h": 316.7
  },
  "luminance": 0.26284
}

Semantic roles & 50–950 ramp

primary
#D052F9
secondary
#C5F0B7
accent
#E60038
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D052F9

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

Preview Lab → · Contrast checker → · Palette generator →

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