#D845D1#D845D1

#D845D1 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.8% C 0.236 H 329.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D845D1
RGBrgb(216, 69, 209)
HSLhsl(303, 65%, 56%)
HSVhsv(303, 68%, 85%)
CMYKcmyk(0%, 68.1%, 3.2%, 15.3%)
CIE-LABlab(55.54, 72.32, -42.98)
CIE-LCHlch(55.54, 84.13, 329.28°)
OKLaboklab(64.77% 0.2046 -0.1185)
OKLCHoklch(64.77% 0.236 329.9)
XYZxyz(41.9554, 23.4618, 62.6280)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845D1 #45D84C
analogous
#9545D8 #D845D1 #D84587
triadic
#D845D1 #D1D845 #45D1D8
tetradic
#D845D1 #D89545 #45D84C #4587D8
square
#D845D1 #D89545 #45D84C #4587D8
split-complementary
#D845D1 #87D845 #45D895
monochromatic
#861C81 #B927B2 #D845D1 #E378DE #EDAAEA

Accessibility & contrast

On white

3.69
#D845D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D845D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845D1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845D1#FFFFFF#000000##000000
##D845D11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#6F8CCD
Tritanopia (blue-blind)
#E05786
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d845d1;
/* rgb */ color: rgb(216, 69, 209);
/* oklch */ color: oklch(64.8% 0.236 329.9);
Tailwind
colors: {
  custom: {
    50: '#e885df',
    500: '#d845d1',
    950: '#000000',
  },
}
SCSS
$custom: #d845d1;
$custom-light: #e885df;
$custom-dark: #000000;
JSON
{
  "hex": "#d845d1",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 302.857,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64774,
    "c": 0.23639,
    "h": 329.9
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#D845D1
secondary
#9EDBA1
accent
#E84840
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D845D1

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

Preview Lab → · Contrast checker → · Palette generator →

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