#D945D6#D945D6

#D945D6 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.241 H 328.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D945D6
RGBrgb(217, 69, 214)
HSLhsl(301, 66%, 56%)
HSVhsv(301, 68%, 85%)
CMYKcmyk(0%, 68.2%, 1.4%, 14.9%)
CIE-LABlab(55.95, 73.34, -45.16)
CIE-LCHlch(55.95, 86.13, 328.37°)
OKLaboklab(65.18% 0.2058 -0.1248)
OKLCHoklch(65.18% 0.241 328.8)
XYZxyz(42.8806, 23.8661, 65.9534)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945D6 #45D948
analogous
#9245D9 #D945D6 #D9458C
triadic
#D945D6 #D6D945 #45D6D9
tetradic
#D945D6 #D99245 #45D948 #458CD9
square
#D945D6 #D99245 #45D948 #458CD9
split-complementary
#D945D6 #8CD945 #45D992
monochromatic
#881C86 #BB26B8 #D945D6 #E378E1 #EEABEC

Accessibility & contrast

On white

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

On black

5.77
#D945D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945D6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945D6#FFFFFF#000000##000000
##D945D61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADA
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#E05989
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d945d6;
/* rgb */ color: rgb(217, 69, 214);
/* oklch */ color: oklch(65.2% 0.241 328.8);
Tailwind
colors: {
  custom: {
    50: '#e985e3',
    500: '#d945d6',
    950: '#000000',
  },
}
SCSS
$custom: #d945d6;
$custom-light: #e985e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d945d6",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 301.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65181,
    "c": 0.24067,
    "h": 328.8
  },
  "luminance": 0.23863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945D6

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

Preview Lab → · Contrast checker → · Palette generator →

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