#D45DC2#D45DC2

#D45DC2 is a light, vivid purple. Relative luminance 0.257; OKLCH L 66.1% C 0.190 H 333.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#D45DC2
RGBrgb(212, 93, 194)
HSLhsl(309, 58%, 60%)
HSVhsv(309, 56%, 83%)
CMYKcmyk(0%, 56.1%, 8.5%, 16.9%)
CIE-LABlab(57.77, 59.20, -30.96)
CIE-LCHlch(57.77, 66.80, 332.39°)
OKLaboklab(66.05% 0.1706 -0.0843)
OKLCHoklch(66.05% 0.19 333.7)
XYZxyz(40.8034, 25.7237, 53.8445)
Luminance0.2572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DC2 #5DD46F
analogous
#AB5DD4 #D45DC2 #D45D86
triadic
#D45DC2 #C2D45D #5DC2D4
tetradic
#D45DC2 #D4AB5D #5DD46F #5D86D4
square
#D45DC2 #D4AB5D #5DD46F #5D86D4
split-complementary
#D45DC2 #86D45D #5DD4AB
monochromatic
#902680 #C133AB #D45DC2 #E18DD4 #EEBEE6

Accessibility & contrast

On white

3.42
#D45DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#D45DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DC2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DC2#FFFFFF#000000##000000
##D45DC21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#7F91BF
Tritanopia (blue-blind)
#DD6587
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d45dc2;
/* rgb */ color: rgb(212, 93, 194);
/* oklch */ color: oklch(66.1% 0.190 333.7);
Tailwind
colors: {
  custom: {
    50: '#e491d4',
    500: '#d45dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d45dc2;
$custom-light: #e491d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45dc2",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 309.076,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66052,
    "c": 0.19032,
    "h": 333.7
  },
  "luminance": 0.25721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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