#D45ECD#D45ECD

#D45ECD is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.7% C 0.198 H 329.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D45ECD
RGBrgb(212, 94, 205)
HSLhsl(304, 58%, 60%)
HSVhsv(304, 56%, 83%)
CMYKcmyk(0%, 55.7%, 3.3%, 16.9%)
CIE-LABlab(58.43, 60.55, -36.21)
CIE-LCHlch(58.43, 70.56, 329.12°)
OKLaboklab(66.69% 0.171 -0.0993)
OKLCHoklch(66.69% 0.198 329.9)
XYZxyz(42.1732, 26.4130, 60.6227)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ECD #5ED465
analogous
#A05ED4 #D45ECD #D45E92
triadic
#D45ECD #CDD45E #5ECDD4
tetradic
#D45ECD #D4A05E #5ED465 #5E92D4
square
#D45ECD #D4A05E #5ED465 #5E92D4
split-complementary
#D45ECD #92D45E #5ED4A0
monochromatic
#91278B #C134B9 #D45ECD #E18EDC #EEBFEB

Accessibility & contrast

On white

3.34
#D45ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D45ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ECD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ECD#FFFFFF#000000##000000
##D45ECD1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D1
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#DB698D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ecd;
/* rgb */ color: rgb(212, 94, 205);
/* oklch */ color: oklch(66.7% 0.198 329.9);
Tailwind
colors: {
  custom: {
    50: '#e491dc',
    500: '#d45ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d45ecd;
$custom-light: #e491dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ecd",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 303.559,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.19771,
    "h": 329.9
  },
  "luminance": 0.2641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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