#D45CC2#D45CC2

#D45CC2 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.192 H 333.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D45CC2
RGBrgb(212, 92, 194)
HSLhsl(309, 58%, 60%)
HSVhsv(309, 57%, 83%)
CMYKcmyk(0%, 56.6%, 8.5%, 16.9%)
CIE-LABlab(57.61, 59.65, -31.22)
CIE-LCHlch(57.61, 67.32, 332.37°)
OKLaboklab(65.93% 0.172 -0.085)
OKLCHoklch(65.93% 0.192 333.7)
XYZxyz(40.7162, 25.5493, 53.8155)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CC2 #5CD46E
analogous
#AA5CD4 #D45CC2 #D45C86
triadic
#D45CC2 #C2D45C #5CC2D4
tetradic
#D45CC2 #D4AA5C #5CD46E #5C86D4
square
#D45CC2 #D4AA5C #5CD46E #5C86D4
split-complementary
#D45CC2 #86D45C #5CD4AA
monochromatic
#902680 #C033AB #D45CC2 #E18CD4 #EEBDE6

Accessibility & contrast

On white

3.44
#D45CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D45CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CC2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CC2#FFFFFF#000000##000000
##D45CC21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#7F91BF
Tritanopia (blue-blind)
#DD6487
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d45cc2;
/* rgb */ color: rgb(212, 92, 194);
/* oklch */ color: oklch(65.9% 0.192 333.7);
Tailwind
colors: {
  custom: {
    50: '#e490d4',
    500: '#d45cc2',
    950: '#000000',
  },
}
SCSS
$custom: #d45cc2;
$custom-light: #e490d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cc2",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 309,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.19182,
    "h": 333.7
  },
  "luminance": 0.25546
}

Semantic roles & 50–950 ramp

primary
#D45CC2
secondary
#AFDDB6
accent
#E15E46
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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