#D945D1#D945D1

#D945D1 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.9% C 0.237 H 330.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D945D1
RGBrgb(217, 69, 209)
HSLhsl(303, 66%, 56%)
HSVhsv(303, 68%, 85%)
CMYKcmyk(0%, 68.2%, 3.7%, 14.9%)
CIE-LABlab(55.70, 72.55, -42.72)
CIE-LCHlch(55.70, 84.19, 329.51°)
OKLaboklab(64.92% 0.2056 -0.1177)
OKLCHoklch(64.92% 0.237 330.2)
XYZxyz(42.2518, 23.6146, 62.6419)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945D1 #45D94D
analogous
#9745D9 #D945D1 #D94587
triadic
#D945D1 #D1D945 #45D1D9
tetradic
#D945D1 #D99745 #45D94D #4587D9
square
#D945D1 #D99745 #45D94D #4587D9
split-complementary
#D945D1 #87D945 #45D997
monochromatic
#881C82 #BB26B3 #D945D1 #E378DE #EEABEA

Accessibility & contrast

On white

3.67
#D945D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D945D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945D1#FFFFFF#000000##000000
##D945D11.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D5
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#E15786
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d945d1;
/* rgb */ color: rgb(217, 69, 209);
/* oklch */ color: oklch(64.9% 0.237 330.2);
Tailwind
colors: {
  custom: {
    50: '#e985df',
    500: '#d945d1',
    950: '#000000',
  },
}
SCSS
$custom: #d945d1;
$custom-light: #e985df;
$custom-dark: #000000;
JSON
{
  "hex": "#d945d1",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 303.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.2369,
    "h": 330.2
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#D945D1
secondary
#9EDBA2
accent
#E9483F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D945D1

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

Preview Lab → · Contrast checker → · Palette generator →

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