#D45EC9#D45EC9

#D45EC9 is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.5% C 0.194 H 331.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D45EC9
RGBrgb(212, 94, 201)
HSLhsl(306, 58%, 60%)
HSVhsv(306, 56%, 83%)
CMYKcmyk(0%, 55.7%, 5.2%, 16.9%)
CIE-LABlab(58.25, 59.89, -34.22)
CIE-LCHlch(58.25, 68.97, 330.26°)
OKLaboklab(66.5% 0.1704 -0.0936)
OKLCHoklch(66.5% 0.194 331.2)
XYZxyz(41.6965, 26.2223, 58.1123)
Luminance0.2622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC9 #5ED469
analogous
#A45ED4 #D45EC9 #D45E8E
triadic
#D45EC9 #C9D45E #5EC9D4
tetradic
#D45EC9 #D4A45E #5ED469 #5E8ED4
square
#D45EC9 #D4A45E #5ED469 #5E8ED4
split-complementary
#D45EC9 #8ED45E #5ED4A4
monochromatic
#912787 #C134B4 #D45EC9 #E18ED9 #EEBFE9

Accessibility & contrast

On white

3.36
#D45EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D45EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EC9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EC9#FFFFFF#000000##000000
##D45EC91.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#7D92C6
Tritanopia (blue-blind)
#DC688B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ec9;
/* rgb */ color: rgb(212, 94, 201);
/* oklch */ color: oklch(66.5% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#e491d9',
    500: '#d45ec9',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec9;
$custom-light: #e491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec9",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 305.593,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.665,
    "c": 0.19442,
    "h": 331.2
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#D45EC9
secondary
#B0DEB4
accent
#E15547
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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