#D945D5#D945D5

#D945D5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.1% C 0.240 H 329.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D945D5
RGBrgb(217, 69, 213)
HSLhsl(302, 66%, 56%)
HSVhsv(302, 68%, 85%)
CMYKcmyk(0%, 68.2%, 1.8%, 14.9%)
CIE-LABlab(55.90, 73.18, -44.68)
CIE-LCHlch(55.90, 85.74, 328.59°)
OKLaboklab(65.13% 0.2057 -0.1234)
OKLCHoklch(65.13% 0.24 329)
XYZxyz(42.7532, 23.8152, 65.2829)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945D5 #45D949
analogous
#9345D9 #D945D5 #D9458B
triadic
#D945D5 #D5D945 #45D5D9
tetradic
#D945D5 #D99345 #45D949 #458BD9
square
#D945D5 #D99345 #45D949 #458BD9
split-complementary
#D945D5 #8BD945 #45D993
monochromatic
#881C85 #BB26B7 #D945D5 #E378E0 #EEABEC

Accessibility & contrast

On white

3.64
#D945D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D945D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945D5#FFFFFF#000000##000000
##D945D51.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3279D9
Deuteranopia (green-blind)
#6D8DD1
Tritanopia (blue-blind)
#E05988
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d945d5;
/* rgb */ color: rgb(217, 69, 213);
/* oklch */ color: oklch(65.1% 0.240 329.0);
Tailwind
colors: {
  custom: {
    50: '#e985e2',
    500: '#d945d5',
    950: '#000000',
  },
}
SCSS
$custom: #d945d5;
$custom-light: #e985e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d945d5",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 301.622,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.2399,
    "h": 329
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#D945D5
secondary
#9EDBA0
accent
#E9433F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D945D5

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

Preview Lab → · Contrast checker → · Palette generator →

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