#D052FF#D052FF

#D052FF is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.6% C 0.256 H 315.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D052FF
RGBrgb(208, 82, 255)
HSLhsl(284, 100%, 66%)
HSVhsv(284, 68%, 100%)
CMYKcmyk(18.4%, 67.8%, 0%, 0%)
CIE-LABlab(58.66, 73.78, -63.88)
CIE-LCHlch(58.66, 97.59, 319.11°)
OKLaboklab(67.6% 0.1816 -0.1797)
OKLCHoklch(67.6% 0.256 315.3)
XYZxyz(47.0768, 26.6662, 97.2556)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052FF #81FF52
analogous
#7952FF #D052FF #FF52D8
triadic
#D052FF #FFD052 #52FFD0
tetradic
#D052FF #FF7952 #81FF52 #52D8FF
square
#D052FF #FF7952 #81FF52 #52D8FF
split-complementary
#D052FF #D8FF52 #52FF79
monochromatic
#9C00D7 #BF15FF #D052FF #E18FFF #F1CCFF

Accessibility & contrast

On white

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

On black

6.33
#D052FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052FF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052FF#FFFFFF#000000##000000
##D052FF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d052ff;
/* rgb */ color: rgb(208, 82, 255);
/* oklch */ color: oklch(67.6% 0.256 315.3);
Tailwind
colors: {
  custom: {
    50: '#e38cff',
    500: '#d052ff',
    950: '#000000',
  },
}
SCSS
$custom: #d052ff;
$custom-light: #e38cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d052ff",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 283.699,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67601,
    "c": 0.25553,
    "h": 315.3
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#D052FF
secondary
#C9F3BA
accent
#E6003E
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D052FF

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

Preview Lab → · Contrast checker → · Palette generator →

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