#D945CC#D945CC

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

Color values

HEX#D945CC
RGBrgb(217, 69, 204)
HSLhsl(305, 66%, 56%)
HSVhsv(305, 68%, 85%)
CMYKcmyk(0%, 68.2%, 6%, 14.9%)
CIE-LABlab(55.45, 71.77, -40.26)
CIE-LCHlch(55.45, 82.29, 330.71°)
OKLaboklab(64.66% 0.2053 -0.1106)
OKLCHoklch(64.66% 0.233 331.7)
XYZxyz(41.6425, 23.3709, 59.4328)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945CC #45D952
analogous
#9C45D9 #D945CC #D94582
triadic
#D945CC #CCD945 #45CCD9
tetradic
#D945CC #D99C45 #45D952 #4582D9
square
#D945CC #D99C45 #45D952 #4582D9
split-complementary
#D945CC #82D945 #45D99C
monochromatic
#881C7E #BB26AE #D945CC #E378DA #EEABE8

Accessibility & contrast

On white

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

On black

5.67
#D945CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945CC#FFFFFF#000000##000000
##D945CC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#E25583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d945cc;
/* rgb */ color: rgb(217, 69, 204);
/* oklch */ color: oklch(64.7% 0.233 331.7);
Tailwind
colors: {
  custom: {
    50: '#e885dc',
    500: '#d945cc',
    950: '#000000',
  },
}
SCSS
$custom: #d945cc;
$custom-light: #e885dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d945cc",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 305.27,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64657,
    "c": 0.23321,
    "h": 331.7
  },
  "luminance": 0.23368
}

Semantic roles & 50–950 ramp

primary
#D945CC
secondary
#9EDBA4
accent
#E94E3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D945CC

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

Preview Lab → · Contrast checker → · Palette generator →

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