#D45EC6#D45EC6

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

Color values

HEX#D45EC6
RGBrgb(212, 94, 198)
HSLhsl(307, 58%, 60%)
HSVhsv(307, 56%, 83%)
CMYKcmyk(0%, 55.7%, 6.6%, 16.9%)
CIE-LABlab(58.12, 59.39, -32.71)
CIE-LCHlch(58.12, 67.81, 331.15°)
OKLaboklab(66.36% 0.17 -0.0893)
OKLCHoklch(66.36% 0.192 332.3)
XYZxyz(41.3470, 26.0825, 56.2718)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC6 #5ED46C
analogous
#A75ED4 #D45EC6 #D45E8B
triadic
#D45EC6 #C6D45E #5EC6D4
tetradic
#D45EC6 #D4A75E #5ED46C #5E8BD4
square
#D45EC6 #D4A75E #5ED46C #5E8BD4
split-complementary
#D45EC6 #8BD45E #5ED4A7
monochromatic
#912784 #C134B0 #D45EC6 #E18ED7 #EEBFE8

Accessibility & contrast

On white

3.38
#D45EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D45EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EC6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EC6#FFFFFF#000000##000000
##D45EC61.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81C9
Deuteranopia (green-blind)
#7E92C3
Tritanopia (blue-blind)
#DC6789
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ec6;
/* rgb */ color: rgb(212, 94, 198);
/* oklch */ color: oklch(66.4% 0.192 332.3);
Tailwind
colors: {
  custom: {
    50: '#e491d7',
    500: '#d45ec6',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec6;
$custom-light: #e491d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec6",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 307.119,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.6636,
    "c": 0.19199,
    "h": 332.3
  },
  "luminance": 0.2608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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