#D852DF#D852DF

#D852DF is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.231 H 325.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D852DF
RGBrgb(216, 82, 223)
HSLhsl(297, 69%, 60%)
HSVhsv(297, 63%, 87%)
CMYKcmyk(3.1%, 63.2%, 0%, 12.5%)
CIE-LABlab(58.00, 69.72, -47.02)
CIE-LCHlch(58.00, 84.09, 326.00°)
OKLaboklab(66.78% 0.1913 -0.1303)
OKLCHoklch(66.78% 0.231 325.7)
XYZxyz(44.6545, 25.9640, 72.4573)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852DF #59DF52
analogous
#9152DF #D852DF #DF52A0
triadic
#D852DF #DFD852 #52DFD8
tetradic
#D852DF #DF9152 #59DF52 #52A0DF
square
#D852DF #DF9152 #59DF52 #52A0DF
split-complementary
#D852DF #A0DF52 #52DF91
monochromatic
#941D9A #C526CE #D852DF #E486E9 #EFB9F2

Accessibility & contrast

On white

3.39
#D852DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D852DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852DF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852DF#FFFFFF#000000##000000
##D852DF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#6E91DB
Tritanopia (blue-blind)
#DD6692
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d852df;
/* rgb */ color: rgb(216, 82, 223);
/* oklch */ color: oklch(66.8% 0.231 325.7);
Tailwind
colors: {
  custom: {
    50: '#e78ce9',
    500: '#d852df',
    950: '#000000',
  },
}
SCSS
$custom: #d852df;
$custom-light: #e78ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#d852df",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 297.021,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66779,
    "c": 0.23147,
    "h": 325.7
  },
  "luminance": 0.25961
}

Semantic roles & 50–950 ramp

primary
#D852DF
secondary
#AEE2AB
accent
#EC3C45
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D852DF

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

Preview Lab → · Contrast checker → · Palette generator →

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