#D45EC4#D45EC4

#D45EC4 is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.3% C 0.190 H 333.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#D45EC4
RGBrgb(212, 94, 196)
HSLhsl(308, 58%, 60%)
HSVhsv(308, 56%, 83%)
CMYKcmyk(0%, 55.7%, 7.5%, 16.9%)
CIE-LABlab(58.03, 59.06, -31.71)
CIE-LCHlch(58.03, 67.04, 331.77°)
OKLaboklab(66.27% 0.1697 -0.0864)
OKLCHoklch(66.27% 0.19 333)
XYZxyz(41.1179, 25.9909, 55.0649)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC4 #5ED46E
analogous
#A95ED4 #D45EC4 #D45E89
triadic
#D45EC4 #C4D45E #5EC4D4
tetradic
#D45EC4 #D4A95E #5ED46E #5E89D4
square
#D45EC4 #D4A95E #5ED46E #5E89D4
split-complementary
#D45EC4 #89D45E #5ED4A9
monochromatic
#912782 #C134AE #D45EC4 #E18ED6 #EEBFE7

Accessibility & contrast

On white

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

On black

6.20
#D45EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EC4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EC4#FFFFFF#000000##000000
##D45EC41.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C7
Deuteranopia (green-blind)
#7F92C1
Tritanopia (blue-blind)
#DC6689
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d45ec4;
/* rgb */ color: rgb(212, 94, 196);
/* oklch */ color: oklch(66.3% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#e491d6',
    500: '#d45ec4',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec4;
$custom-light: #e491d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec4",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 308.136,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66268,
    "c": 0.19039,
    "h": 333
  },
  "luminance": 0.25988
}

Semantic roles & 50–950 ramp

primary
#D45EC4
secondary
#B0DEB6
accent
#E15C47
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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