#D852D8#D852D8

#D852D8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.226 H 327.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D852D8
RGBrgb(216, 82, 216)
HSLhsl(300, 63%, 58%)
HSVhsv(300, 62%, 85%)
CMYKcmyk(0%, 62%, 0%, 15.3%)
CIE-LABlab(57.65, 68.54, -43.63)
CIE-LCHlch(57.65, 81.25, 327.52°)
OKLaboklab(66.41% 0.191 -0.1205)
OKLCHoklch(66.41% 0.226 327.8)
XYZxyz(43.7302, 25.5943, 67.5893)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852D8 #52D852
analogous
#9552D8 #D852D8 #D85295
triadic
#D852D8 #D8D852 #52D8D8
tetradic
#D852D8 #D89552 #52D852 #5295D8
square
#D852D8 #D89552 #52D852 #5295D8
split-complementary
#D852D8 #95D852 #52D895
monochromatic
#8F208F #C12CC1 #D852D8 #E384E3 #EFB6EF

Accessibility & contrast

On white

3.43
#D852D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D852D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852D8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852D8#FFFFFF#000000##000000
##D852D81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDC
Deuteranopia (green-blind)
#7291D4
Tritanopia (blue-blind)
#DE638E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d852d8;
/* rgb */ color: rgb(216, 82, 216);
/* oklch */ color: oklch(66.4% 0.226 327.8);
Tailwind
colors: {
  custom: {
    50: '#e78be4',
    500: '#d852d8',
    950: '#000000',
  },
}
SCSS
$custom: #d852d8;
$custom-light: #e78be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d852d8",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 300,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66409,
    "c": 0.22578,
    "h": 327.8
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#D852D8
secondary
#A8DDA8
accent
#E64242
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D852D8

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

Preview Lab → · Contrast checker → · Palette generator →

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