#D945CF#D945CF

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

Color values

HEX#D945CF
RGBrgb(217, 69, 207)
HSLhsl(304, 66%, 56%)
HSVhsv(304, 68%, 85%)
CMYKcmyk(0%, 68.2%, 4.6%, 14.9%)
CIE-LABlab(55.60, 72.23, -41.74)
CIE-LCHlch(55.60, 83.43, 329.98°)
OKLaboklab(64.81% 0.2055 -0.1149)
OKLCHoklch(64.81% 0.235 330.8)
XYZxyz(42.0057, 23.5162, 61.3461)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945CF #45D94F
analogous
#9945D9 #D945CF #D94585
triadic
#D945CF #CFD945 #45CFD9
tetradic
#D945CF #D99945 #45D94F #4585D9
square
#D945CF #D99945 #45D94F #4585D9
split-complementary
#D945CF #85D945 #45D999
monochromatic
#881C81 #BB26B1 #D945CF #E378DC #EEABE9

Accessibility & contrast

On white

3.68
#D945CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D945CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945CF#FFFFFF#000000##000000
##D945CF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#E15685
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d945cf;
/* rgb */ color: rgb(217, 69, 207);
/* oklch */ color: oklch(64.8% 0.235 330.8);
Tailwind
colors: {
  custom: {
    50: '#e885de',
    500: '#d945cf',
    950: '#000000',
  },
}
SCSS
$custom: #d945cf;
$custom-light: #e885de;
$custom-dark: #000000;
JSON
{
  "hex": "#d945cf",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 304.054,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64812,
    "c": 0.23542,
    "h": 330.8
  },
  "luminance": 0.23513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945CF

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

Preview Lab → · Contrast checker → · Palette generator →

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