#D945CD#D945CD

#D945CD is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.7% C 0.234 H 331.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D945CD
RGBrgb(217, 69, 205)
HSLhsl(305, 66%, 56%)
HSVhsv(305, 68%, 85%)
CMYKcmyk(0%, 68.2%, 5.5%, 14.9%)
CIE-LABlab(55.50, 71.92, -40.75)
CIE-LCHlch(55.50, 82.67, 330.46°)
OKLaboklab(64.71% 0.2054 -0.112)
OKLCHoklch(64.71% 0.234 331.4)
XYZxyz(41.7628, 23.4190, 60.0665)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945CD #45D951
analogous
#9B45D9 #D945CD #D94583
triadic
#D945CD #CDD945 #45CDD9
tetradic
#D945CD #D99B45 #45D951 #4583D9
square
#D945CD #D99B45 #45D951 #4583D9
split-complementary
#D945CD #83D945 #45D99B
monochromatic
#881C7F #BB26AF #D945CD #E378DB #EEABE8

Accessibility & contrast

On white

3.70
#D945CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D945CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945CD#FFFFFF#000000##000000
##D945CD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#E25584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d945cd;
/* rgb */ color: rgb(217, 69, 205);
/* oklch */ color: oklch(64.7% 0.234 331.4);
Tailwind
colors: {
  custom: {
    50: '#e885dd',
    500: '#d945cd',
    950: '#000000',
  },
}
SCSS
$custom: #d945cd;
$custom-light: #e885dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d945cd",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 304.865,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.23394,
    "h": 331.4
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#D945CD
secondary
#9EDBA3
accent
#E94D3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D945CD

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

Preview Lab → · Contrast checker → · Palette generator →

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