#D945C3#D945C3

#D945C3 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.2% C 0.227 H 334.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D945C3
RGBrgb(217, 69, 195)
HSLhsl(309, 66%, 56%)
HSVhsv(309, 68%, 85%)
CMYKcmyk(0%, 68.2%, 10.1%, 14.9%)
CIE-LABlab(55.02, 70.41, -35.77)
CIE-LCHlch(55.02, 78.97, 333.07°)
OKLaboklab(64.21% 0.2046 -0.0977)
OKLCHoklch(64.21% 0.227 334.5)
XYZxyz(40.5941, 22.9515, 53.9113)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945C3 #45D95B
analogous
#A545D9 #D945C3 #D94579
triadic
#D945C3 #C3D945 #45C3D9
tetradic
#D945C3 #D9A545 #45D95B #4579D9
square
#D945C3 #D9A545 #45D95B #4579D9
split-complementary
#D945C3 #79D945 #45D9A5
monochromatic
#881C78 #BB26A5 #D945C3 #E378D3 #EEABE4

Accessibility & contrast

On white

3.76
#D945C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D945C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945C3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945C3#FFFFFF#000000##000000
##D945C31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4376C7
Deuteranopia (green-blind)
#768CBF
Tritanopia (blue-blind)
#E3517E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d945c3;
/* rgb */ color: rgb(217, 69, 195);
/* oklch */ color: oklch(64.2% 0.227 334.5);
Tailwind
colors: {
  custom: {
    50: '#e884d5',
    500: '#d945c3',
    950: '#000000',
  },
}
SCSS
$custom: #d945c3;
$custom-light: #e884d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d945c3",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 308.919,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.22671,
    "h": 334.5
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#D945C3
secondary
#9EDBA7
accent
#E9583F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D945C3

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

Preview Lab → · Contrast checker → · Palette generator →

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