#D052DF#D052DF

#D052DF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.228 H 323.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D052DF
RGBrgb(208, 82, 223)
HSLhsl(294, 69%, 60%)
HSVhsv(294, 63%, 87%)
CMYKcmyk(6.7%, 63.2%, 0%, 12.5%)
CIE-LABlab(56.85, 67.86, -48.91)
CIE-LCHlch(56.85, 83.65, 324.22°)
OKLaboklab(65.72% 0.1825 -0.136)
OKLCHoklch(65.72% 0.228 323.3)
XYZxyz(42.3477, 24.7745, 72.3491)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052DF #61DF52
analogous
#8A52DF #D052DF #DF52A8
triadic
#D052DF #DFD052 #52DFD0
tetradic
#D052DF #DF8A52 #61DF52 #52A8DF
square
#D052DF #DF8A52 #61DF52 #52A8DF
split-complementary
#D052DF #A8DF52 #52DF8A
monochromatic
#8D1D9A #BC26CE #D052DF #DE86E9 #ECB9F2

Accessibility & contrast

On white

3.53
#D052DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D052DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052DF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052DF#FFFFFF#000000##000000
##D052DF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#D36892
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d052df;
/* rgb */ color: rgb(208, 82, 223);
/* oklch */ color: oklch(65.7% 0.228 323.3);
Tailwind
colors: {
  custom: {
    50: '#e28be9',
    500: '#d052df',
    950: '#000000',
  },
}
SCSS
$custom: #d052df;
$custom-light: #e28be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d052df",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 293.617,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65718,
    "c": 0.22759,
    "h": 323.3
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#D052DF
secondary
#B1E2AB
accent
#EC3C4F
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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