#D945C7#D945C7

#D945C7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.4% C 0.230 H 333.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D945C7
RGBrgb(217, 69, 199)
HSLhsl(307, 66%, 56%)
HSVhsv(307, 68%, 85%)
CMYKcmyk(0%, 68.2%, 8.3%, 14.9%)
CIE-LABlab(55.21, 71.01, -37.77)
CIE-LCHlch(55.21, 80.43, 331.99°)
OKLaboklab(64.4% 0.2049 -0.1035)
OKLCHoklch(64.4% 0.23 333.2)
XYZxyz(41.0524, 23.1348, 56.3251)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945C7 #45D957
analogous
#A145D9 #D945C7 #D9457D
triadic
#D945C7 #C7D945 #45C7D9
tetradic
#D945C7 #D9A145 #45D957 #457DD9
square
#D945C7 #D9A145 #45D957 #457DD9
split-complementary
#D945C7 #7DD945 #45D9A1
monochromatic
#881C7B #BB26A9 #D945C7 #E378D6 #EEABE6

Accessibility & contrast

On white

3.73
#D945C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D945C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945C7#FFFFFF#000000##000000
##D945C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CB
Deuteranopia (green-blind)
#748CC3
Tritanopia (blue-blind)
#E35281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d945c7;
/* rgb */ color: rgb(217, 69, 199);
/* oklch */ color: oklch(64.4% 0.230 333.2);
Tailwind
colors: {
  custom: {
    50: '#e885d8',
    500: '#d945c7',
    950: '#000000',
  },
}
SCSS
$custom: #d945c7;
$custom-light: #e885d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d945c7",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 307.297,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.22956,
    "h": 333.2
  },
  "luminance": 0.23131
}

Semantic roles & 50–950 ramp

primary
#D945C7
secondary
#9EDBA6
accent
#E9533F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D945C7

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

Preview Lab → · Contrast checker → · Palette generator →

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