#D945CE#D945CE

#D945CE is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.8% C 0.235 H 331.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D945CE
RGBrgb(217, 69, 206)
HSLhsl(304, 66%, 56%)
HSVhsv(304, 68%, 85%)
CMYKcmyk(0%, 68.2%, 5.1%, 14.9%)
CIE-LABlab(55.55, 72.08, -41.24)
CIE-LCHlch(55.55, 83.05, 330.22°)
OKLaboklab(64.76% 0.2054 -0.1135)
OKLCHoklch(64.76% 0.235 331.1)
XYZxyz(41.8839, 23.4674, 60.7042)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945CE #45D950
analogous
#9A45D9 #D945CE #D94584
triadic
#D945CE #CED945 #45CED9
tetradic
#D945CE #D99A45 #45D950 #4584D9
square
#D945CE #D99A45 #45D950 #4584D9
split-complementary
#D945CE #84D945 #45D99A
monochromatic
#881C80 #BB26B0 #D945CE #E378DB #EEABE9

Accessibility & contrast

On white

3.69
#D945CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D945CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945CE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945CE#FFFFFF#000000##000000
##D945CE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#E15684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d945ce;
/* rgb */ color: rgb(217, 69, 206);
/* oklch */ color: oklch(64.8% 0.235 331.1);
Tailwind
colors: {
  custom: {
    50: '#e885dd',
    500: '#d945ce',
    950: '#000000',
  },
}
SCSS
$custom: #d945ce;
$custom-light: #e885dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d945ce",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 304.459,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.23468,
    "h": 331.1
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#D945CE
secondary
#9EDBA3
accent
#E94B3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D945CE

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

Preview Lab → · Contrast checker → · Palette generator →

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