#D945C1#D945C1

#D945C1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.225 H 335.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D945C1
RGBrgb(217, 69, 193)
HSLhsl(310, 66%, 56%)
HSVhsv(310, 68%, 85%)
CMYKcmyk(0%, 68.2%, 11.1%, 14.9%)
CIE-LABlab(54.93, 70.11, -34.76)
CIE-LCHlch(54.93, 78.26, 333.63°)
OKLaboklab(64.11% 0.2044 -0.0948)
OKLCHoklch(64.11% 0.225 335.1)
XYZxyz(40.3695, 22.8617, 52.7283)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945C1 #45D95D
analogous
#A745D9 #D945C1 #D94577
triadic
#D945C1 #C1D945 #45C1D9
tetradic
#D945C1 #D9A745 #45D95D #4577D9
square
#D945C1 #D9A745 #45D95D #4577D9
split-complementary
#D945C1 #77D945 #45D9A7
monochromatic
#881C76 #BB26A3 #D945C1 #E378D2 #EEABE3

Accessibility & contrast

On white

3.77
#D945C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D945C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945C1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945C1#FFFFFF#000000##000000
##D945C11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C5
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#E3507D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d945c1;
/* rgb */ color: rgb(217, 69, 193);
/* oklch */ color: oklch(64.1% 0.225 335.1);
Tailwind
colors: {
  custom: {
    50: '#e884d4',
    500: '#d945c1',
    950: '#000000',
  },
}
SCSS
$custom: #d945c1;
$custom-light: #e884d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d945c1",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 309.73,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64109,
    "c": 0.2253,
    "h": 335.1
  },
  "luminance": 0.22858
}

Semantic roles & 50–950 ramp

primary
#D945C1
secondary
#9EDBA8
accent
#E95A3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D945C1

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

Preview Lab → · Contrast checker → · Palette generator →

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