#D45EC8#D45EC8

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

Color values

HEX#D45EC8
RGBrgb(212, 94, 200)
HSLhsl(306, 58%, 60%)
HSVhsv(306, 56%, 83%)
CMYKcmyk(0%, 55.7%, 5.7%, 16.9%)
CIE-LABlab(58.20, 59.72, -33.72)
CIE-LCHlch(58.20, 68.58, 330.55°)
OKLaboklab(66.45% 0.1703 -0.0921)
OKLCHoklch(66.45% 0.194 331.6)
XYZxyz(41.5792, 26.1754, 57.4947)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC8 #5ED46A
analogous
#A55ED4 #D45EC8 #D45E8D
triadic
#D45EC8 #C8D45E #5EC8D4
tetradic
#D45EC8 #D4A55E #5ED46A #5E8DD4
square
#D45EC8 #D4A55E #5ED46A #5E8DD4
split-complementary
#D45EC8 #8DD45E #5ED4A5
monochromatic
#912786 #C134B3 #D45EC8 #E18ED8 #EEBFE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D45EC8#FFFFFF#000000##000000
##D45EC81.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)
#5981CB
Deuteranopia (green-blind)
#7D92C5
Tritanopia (blue-blind)
#DC688A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ec8;
/* rgb */ color: rgb(212, 94, 200);
/* oklch */ color: oklch(66.5% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#e491d9',
    500: '#d45ec8',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec8;
$custom-light: #e491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec8",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 306.102,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.19361,
    "h": 331.6
  },
  "luminance": 0.26173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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