#D052FD#D052FD

#D052FD is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.5% C 0.254 H 315.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D052FD
RGBrgb(208, 82, 253)
HSLhsl(284, 98%, 66%)
HSVhsv(284, 68%, 99%)
CMYKcmyk(17.8%, 67.6%, 0%, 0.8%)
CIE-LABlab(58.54, 73.39, -62.97)
CIE-LCHlch(58.54, 96.70, 319.37°)
OKLaboklab(67.48% 0.1818 -0.1771)
OKLCHoklch(67.48% 0.254 315.8)
XYZxyz(46.7566, 26.5381, 95.5689)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052FD #7FFD52
analogous
#7B52FD #D052FD #FD52D4
triadic
#D052FD #FDD052 #52FDD0
tetradic
#D052FD #FD7B52 #7FFD52 #52D4FD
square
#D052FD #FD7B52 #7FFD52 #52D4FD
split-complementary
#D052FD #D4FD52 #52FD7B
monochromatic
#9C02D2 #C015FC #D052FD #E08EFE #F1CBFE

Accessibility & contrast

On white

3.33
#D052FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D052FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052FD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052FD#FFFFFF#000000##000000
##D052FD1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#CD74A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d052fd;
/* rgb */ color: rgb(208, 82, 253);
/* oklch */ color: oklch(67.5% 0.254 315.8);
Tailwind
colors: {
  custom: {
    50: '#e38cff',
    500: '#d052fd',
    950: '#000000',
  },
}
SCSS
$custom: #d052fd;
$custom-light: #e38cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d052fd",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 284.211,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67477,
    "c": 0.25376,
    "h": 315.8
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#D052FD
secondary
#C8F2B9
accent
#E6003C
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D052FD

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

Preview Lab → · Contrast checker → · Palette generator →

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