#D45EC7#D45EC7

#D45EC7 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.4% C 0.193 H 331.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D45EC7
RGBrgb(212, 94, 199)
HSLhsl(307, 58%, 60%)
HSVhsv(307, 56%, 83%)
CMYKcmyk(0%, 55.7%, 6.1%, 16.9%)
CIE-LABlab(58.16, 59.56, -33.22)
CIE-LCHlch(58.16, 68.19, 330.85°)
OKLaboklab(66.41% 0.1701 -0.0907)
OKLCHoklch(66.41% 0.193 331.9)
XYZxyz(41.4628, 26.1288, 56.8813)
Luminance0.2613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC7 #5ED46B
analogous
#A65ED4 #D45EC7 #D45E8C
triadic
#D45EC7 #C7D45E #5EC7D4
tetradic
#D45EC7 #D4A65E #5ED46B #5E8CD4
square
#D45EC7 #D4A65E #5ED46B #5E8CD4
split-complementary
#D45EC7 #8CD45E #5ED4A6
monochromatic
#912785 #C134B2 #D45EC7 #E18ED8 #EEBFE9

Accessibility & contrast

On white

3.37
#D45EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D45EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EC7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EC7#FFFFFF#000000##000000
##D45EC71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#7E92C4
Tritanopia (blue-blind)
#DC678A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ec7;
/* rgb */ color: rgb(212, 94, 199);
/* oklch */ color: oklch(66.4% 0.193 331.9);
Tailwind
colors: {
  custom: {
    50: '#e491d8',
    500: '#d45ec7',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec7;
$custom-light: #e491d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec7",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 306.61,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66407,
    "c": 0.1928,
    "h": 331.9
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#D45EC7
secondary
#B0DEB5
accent
#E15847
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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