#D852D2#D852D2

#D852D2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.221 H 329.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D852D2
RGBrgb(216, 82, 210)
HSLhsl(303, 63%, 58%)
HSVhsv(303, 62%, 85%)
CMYKcmyk(0%, 62%, 2.8%, 15.3%)
CIE-LABlab(57.36, 67.55, -40.69)
CIE-LCHlch(57.36, 78.86, 328.94°)
OKLaboklab(66.1% 0.1905 -0.112)
OKLCHoklch(66.1% 0.221 329.6)
XYZxyz(42.9687, 25.2897, 63.5785)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852D2 #52D858
analogous
#9B52D8 #D852D2 #D8528F
triadic
#D852D2 #D2D852 #52D2D8
tetradic
#D852D2 #D89B52 #52D858 #528FD8
square
#D852D2 #D89B52 #52D858 #528FD8
split-complementary
#D852D2 #8FD852 #52D89B
monochromatic
#8F208A #C12CBB #D852D2 #E384DF #EFB6EC

Accessibility & contrast

On white

3.47
#D852D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D852D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852D2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852D2#FFFFFF#000000##000000
##D852D21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#7590CE
Tritanopia (blue-blind)
#DF618B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d852d2;
/* rgb */ color: rgb(216, 82, 210);
/* oklch */ color: oklch(66.1% 0.221 329.6);
Tailwind
colors: {
  custom: {
    50: '#e78be0',
    500: '#d852d2',
    950: '#000000',
  },
}
SCSS
$custom: #d852d2;
$custom-light: #e78be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d852d2",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 302.687,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66101,
    "c": 0.22099,
    "h": 329.6
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#D852D2
secondary
#A8DDAB
accent
#E64942
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D852D2

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

Preview Lab → · Contrast checker → · Palette generator →

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