#D052DB#D052DB

#D052DB is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.224 H 324.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D052DB
RGBrgb(208, 82, 219)
HSLhsl(295, 66%, 59%)
HSVhsv(295, 63%, 86%)
CMYKcmyk(5%, 62.6%, 0%, 14.1%)
CIE-LABlab(56.65, 67.15, -46.99)
CIE-LCHlch(56.65, 81.96, 325.02°)
OKLaboklab(65.5% 0.1824 -0.1304)
OKLCHoklch(65.5% 0.224 324.4)
XYZxyz(41.8148, 24.5614, 69.5424)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052DB #5DDB52
analogous
#8C52DB #D052DB #DB52A2
triadic
#D052DB #DBD052 #52DBD0
tetradic
#D052DB #DB8C52 #5DDB52 #52A2DB
square
#D052DB #DB8C52 #5DDB52 #52A2DB
split-complementary
#D052DB #A2DB52 #52DB8C
monochromatic
#8A1F94 #BA29C6 #D052DB #DE85E6 #ECB7F0

Accessibility & contrast

On white

3.55
#D052DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D052DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052DB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052DB#FFFFFF#000000##000000
##D052DB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#D4668F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d052db;
/* rgb */ color: rgb(208, 82, 219);
/* oklch */ color: oklch(65.5% 0.224 324.4);
Tailwind
colors: {
  custom: {
    50: '#e28be7',
    500: '#d052db',
    950: '#000000',
  },
}
SCSS
$custom: #d052db;
$custom-light: #e28be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d052db",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 295.182,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65499,
    "c": 0.22418,
    "h": 324.4
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#D052DB
secondary
#AEDFAA
accent
#E93F4D
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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