#D852DB#D852DB

#D852DB is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.6% C 0.228 H 326.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D852DB
RGBrgb(216, 82, 219)
HSLhsl(299, 66%, 59%)
HSVhsv(299, 63%, 86%)
CMYKcmyk(1.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(57.80, 69.04, -45.09)
CIE-LCHlch(57.80, 82.46, 326.86°)
OKLaboklab(66.57% 0.1911 -0.1247)
OKLCHoklch(66.57% 0.228 326.9)
XYZxyz(44.1216, 25.7508, 69.6506)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852DB #55DB52
analogous
#9452DB #D852DB #DB529A
triadic
#D852DB #DBD852 #52DBD8
tetradic
#D852DB #DB9452 #55DB52 #529ADB
square
#D852DB #DB9452 #55DB52 #529ADB
split-complementary
#D852DB #9ADB52 #52DB94
monochromatic
#911F94 #C329C6 #D852DB #E385E6 #EFB7F0

Accessibility & contrast

On white

3.41
#D852DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D852DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852DB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852DB#FFFFFF#000000##000000
##D852DB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#7091D7
Tritanopia (blue-blind)
#DE6590
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d852db;
/* rgb */ color: rgb(216, 82, 219);
/* oklch */ color: oklch(66.6% 0.228 326.9);
Tailwind
colors: {
  custom: {
    50: '#e78be6',
    500: '#d852db',
    950: '#000000',
  },
}
SCSS
$custom: #d852db;
$custom-light: #e78be6;
$custom-dark: #000000;
JSON
{
  "hex": "#d852db",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 298.686,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66566,
    "c": 0.2282,
    "h": 326.9
  },
  "luminance": 0.25748
}

Semantic roles & 50–950 ramp

primary
#D852DB
secondary
#ABDFAA
accent
#E93F43
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D852DB

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

Preview Lab → · Contrast checker → · Palette generator →

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