#D45DC7#D45DC7

#D45DC7 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.3% C 0.194 H 331.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D45DC7
RGBrgb(212, 93, 199)
HSLhsl(307, 58%, 60%)
HSVhsv(307, 56%, 83%)
CMYKcmyk(0%, 56.1%, 6.1%, 16.9%)
CIE-LABlab(57.99, 60.01, -33.48)
CIE-LCHlch(57.99, 68.72, 330.84°)
OKLaboklab(66.28% 0.1714 -0.0915)
OKLCHoklch(66.28% 0.194 331.9)
XYZxyz(41.3744, 25.9521, 56.8518)
Luminance0.2595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DC7 #5DD46A
analogous
#A65DD4 #D45DC7 #D45D8B
triadic
#D45DC7 #C7D45D #5DC7D4
tetradic
#D45DC7 #D4A65D #5DD46A #5D8BD4
square
#D45DC7 #D4A65D #5DD46A #5D8BD4
split-complementary
#D45DC7 #8BD45D #5DD4A6
monochromatic
#902685 #C133B1 #D45DC7 #E18DD8 #EEBEE8

Accessibility & contrast

On white

3.39
#D45DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D45DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DC7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DC7#FFFFFF#000000##000000
##D45DC71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CA
Deuteranopia (green-blind)
#7D91C4
Tritanopia (blue-blind)
#DC678A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d45dc7;
/* rgb */ color: rgb(212, 93, 199);
/* oklch */ color: oklch(66.3% 0.194 331.9);
Tailwind
colors: {
  custom: {
    50: '#e491d8',
    500: '#d45dc7',
    950: '#000000',
  },
}
SCSS
$custom: #d45dc7;
$custom-light: #e491d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45dc7",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 306.555,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.19429,
    "h": 331.9
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#D45DC7
secondary
#AFDDB4
accent
#E15747
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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