#D45ECC#D45ECC

#D45ECC is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.6% C 0.197 H 330.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D45ECC
RGBrgb(212, 94, 204)
HSLhsl(304, 58%, 60%)
HSVhsv(304, 56%, 83%)
CMYKcmyk(0%, 55.7%, 3.8%, 16.9%)
CIE-LABlab(58.38, 60.39, -35.71)
CIE-LCHlch(58.38, 70.16, 329.40°)
OKLaboklab(66.64% 0.1708 -0.0979)
OKLCHoklch(66.64% 0.197 330.2)
XYZxyz(42.0528, 26.3648, 59.9890)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ECC #5ED466
analogous
#A15ED4 #D45ECC #D45E91
triadic
#D45ECC #CCD45E #5ECCD4
tetradic
#D45ECC #D4A15E #5ED466 #5E91D4
square
#D45ECC #D4A15E #5ED466 #5E91D4
split-complementary
#D45ECC #91D45E #5ED4A1
monochromatic
#91278A #C134B8 #D45ECC #E18EDB #EEBFEB

Accessibility & contrast

On white

3.35
#D45ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D45ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ECC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ECC#FFFFFF#000000##000000
##D45ECC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#7C92C9
Tritanopia (blue-blind)
#DB698C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ecc;
/* rgb */ color: rgb(212, 94, 204);
/* oklch */ color: oklch(66.6% 0.197 330.2);
Tailwind
colors: {
  custom: {
    50: '#e491dc',
    500: '#d45ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d45ecc;
$custom-light: #e491dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ecc",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 304.068,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66643,
    "c": 0.19689,
    "h": 330.2
  },
  "luminance": 0.26362
}

Semantic roles & 50–950 ramp

primary
#D45ECC
secondary
#B0DEB3
accent
#E15147
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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