#D052FE#D052FE

#D052FE is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.5% C 0.255 H 315.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D052FE
RGBrgb(208, 82, 254)
HSLhsl(284, 99%, 66%)
HSVhsv(284, 68%, 100%)
CMYKcmyk(18.1%, 67.7%, 0%, 0.4%)
CIE-LABlab(58.60, 73.58, -63.42)
CIE-LCHlch(58.60, 97.14, 319.24°)
OKLaboklab(67.54% 0.1817 -0.1784)
OKLCHoklch(67.54% 0.255 315.5)
XYZxyz(46.9163, 26.6020, 96.4100)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052FE #80FE52
analogous
#7A52FE #D052FE #FE52D6
triadic
#D052FE #FED052 #52FED0
tetradic
#D052FE #FE7A52 #80FE52 #52D6FE
square
#D052FE #FE7A52 #80FE52 #52D6FE
split-complementary
#D052FE #D6FE52 #52FE7A
monochromatic
#9C01D4 #BF15FE #D052FE #E18FFE #F1CCFF

Accessibility & contrast

On white

3.32
#D052FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D052FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052FE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052FE#FFFFFF#000000##000000
##D052FE1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#CD74A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d052fe;
/* rgb */ color: rgb(208, 82, 254);
/* oklch */ color: oklch(67.5% 0.255 315.5);
Tailwind
colors: {
  custom: {
    50: '#e38cff',
    500: '#d052fe',
    950: '#000000',
  },
}
SCSS
$custom: #d052fe;
$custom-light: #e38cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d052fe",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 254
  },
  "hsl": {
    "h": 283.953,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67538,
    "c": 0.25465,
    "h": 315.5
  },
  "luminance": 0.266
}

Semantic roles & 50–950 ramp

primary
#D052FE
secondary
#C9F2B9
accent
#E6003D
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D052FE

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

Preview Lab → · Contrast checker → · Palette generator →

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