#D945D2#D945D2

#D945D2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.0% C 0.238 H 329.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D945D2
RGBrgb(217, 69, 210)
HSLhsl(303, 66%, 56%)
HSVhsv(303, 68%, 85%)
CMYKcmyk(0%, 68.2%, 3.2%, 14.9%)
CIE-LABlab(55.75, 72.70, -43.21)
CIE-LCHlch(55.75, 84.58, 329.28°)
OKLaboklab(64.97% 0.2056 -0.1191)
OKLCHoklch(64.97% 0.238 329.9)
XYZxyz(42.3760, 23.6643, 63.2960)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945D2 #45D94C
analogous
#9645D9 #D945D2 #D94588
triadic
#D945D2 #D2D945 #45D2D9
tetradic
#D945D2 #D99645 #45D94C #4588D9
square
#D945D2 #D99645 #45D94C #4588D9
split-complementary
#D945D2 #88D945 #45D996
monochromatic
#881C83 #BB26B4 #D945D2 #E378DE #EEABEB

Accessibility & contrast

On white

3.66
#D945D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D945D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945D2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945D2#FFFFFF#000000##000000
##D945D21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#6F8DCE
Tritanopia (blue-blind)
#E15786
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d945d2;
/* rgb */ color: rgb(217, 69, 210);
/* oklch */ color: oklch(65.0% 0.238 329.9);
Tailwind
colors: {
  custom: {
    50: '#e985e0',
    500: '#d945d2',
    950: '#000000',
  },
}
SCSS
$custom: #d945d2;
$custom-light: #e985e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d945d2",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 302.838,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.23766,
    "h": 329.9
  },
  "luminance": 0.23661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945D2

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

Preview Lab → · Contrast checker → · Palette generator →

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