#D945D3#D945D3

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

Color values

HEX#D945D3
RGBrgb(217, 69, 211)
HSLhsl(302, 66%, 56%)
HSVhsv(302, 68%, 85%)
CMYKcmyk(0%, 68.2%, 2.8%, 14.9%)
CIE-LABlab(55.80, 72.86, -43.70)
CIE-LCHlch(55.80, 84.96, 329.05°)
OKLaboklab(65.02% 0.2057 -0.1206)
OKLCHoklch(65.02% 0.238 329.6)
XYZxyz(42.5010, 23.7143, 63.9542)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945D3 #45D94B
analogous
#9545D9 #D945D3 #D94589
triadic
#D945D3 #D3D945 #45D3D9
tetradic
#D945D3 #D99545 #45D94B #4589D9
square
#D945D3 #D99545 #45D94B #4589D9
split-complementary
#D945D3 #89D945 #45D995
monochromatic
#881C83 #BB26B5 #D945D3 #E378DF #EEABEB

Accessibility & contrast

On white

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

On black

5.74
#D945D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945D3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945D3#FFFFFF#000000##000000
##D945D31.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D7
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#E15887
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d945d3;
/* rgb */ color: rgb(217, 69, 211);
/* oklch */ color: oklch(65.0% 0.238 329.6);
Tailwind
colors: {
  custom: {
    50: '#e985e1',
    500: '#d945d3',
    950: '#000000',
  },
}
SCSS
$custom: #d945d3;
$custom-light: #e985e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d945d3",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 302.432,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.23841,
    "h": 329.6
  },
  "luminance": 0.23711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945D3

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

Preview Lab → · Contrast checker → · Palette generator →

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