#D45CC7#D45CC7

#D45CC7 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.2% C 0.196 H 331.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D45CC7
RGBrgb(212, 92, 199)
HSLhsl(307, 58%, 60%)
HSVhsv(307, 57%, 83%)
CMYKcmyk(0%, 56.6%, 6.1%, 16.9%)
CIE-LABlab(57.83, 60.46, -33.74)
CIE-LCHlch(57.83, 69.23, 330.84°)
OKLaboklab(66.16% 0.1727 -0.0922)
OKLCHoklch(66.16% 0.196 331.9)
XYZxyz(41.2872, 25.7777, 56.8228)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CC7 #5CD469
analogous
#A55CD4 #D45CC7 #D45C8B
triadic
#D45CC7 #C7D45C #5CC7D4
tetradic
#D45CC7 #D4A55C #5CD469 #5C8BD4
square
#D45CC7 #D4A55C #5CD469 #5C8BD4
split-complementary
#D45CC7 #8BD45C #5CD4A5
monochromatic
#902684 #C033B1 #D45CC7 #E18CD8 #EEBDE8

Accessibility & contrast

On white

3.41
#D45CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D45CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CC7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CC7#FFFFFF#000000##000000
##D45CC71.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d45cc7;
/* rgb */ color: rgb(212, 92, 199);
/* oklch */ color: oklch(66.2% 0.196 331.9);
Tailwind
colors: {
  custom: {
    50: '#e490d8',
    500: '#d45cc7',
    950: '#000000',
  },
}
SCSS
$custom: #d45cc7;
$custom-light: #e490d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cc7",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 306.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66162,
    "c": 0.19578,
    "h": 331.9
  },
  "luminance": 0.25775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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