#D45EC1#D45EC1

#D45EC1 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.1% C 0.188 H 334.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D45EC1
RGBrgb(212, 94, 193)
HSLhsl(310, 58%, 60%)
HSVhsv(310, 56%, 83%)
CMYKcmyk(0%, 55.7%, 9%, 16.9%)
CIE-LABlab(57.90, 58.58, -30.19)
CIE-LCHlch(57.90, 65.90, 332.73°)
OKLaboklab(66.13% 0.1692 -0.0821)
OKLCHoklch(66.13% 0.188 334.1)
XYZxyz(40.7798, 25.8556, 53.2845)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC1 #5ED471
analogous
#AC5ED4 #D45EC1 #D45E86
triadic
#D45EC1 #C1D45E #5EC1D4
tetradic
#D45EC1 #D4AC5E #5ED471 #5E86D4
square
#D45EC1 #D4AC5E #5ED471 #5E86D4
split-complementary
#D45EC1 #86D45E #5ED4AC
monochromatic
#912780 #C134AA #D45EC1 #E18ED4 #EEBFE6

Accessibility & contrast

On white

3.40
#D45EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D45EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EC1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EC1#FFFFFF#000000##000000
##D45EC11.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D80C4
Deuteranopia (green-blind)
#8091BE
Tritanopia (blue-blind)
#DD6587
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d45ec1;
/* rgb */ color: rgb(212, 94, 193);
/* oklch */ color: oklch(66.1% 0.188 334.1);
Tailwind
colors: {
  custom: {
    50: '#e491d4',
    500: '#d45ec1',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec1;
$custom-light: #e491d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec1",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 309.661,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66131,
    "c": 0.18803,
    "h": 334.1
  },
  "luminance": 0.25853
}

Semantic roles & 50–950 ramp

primary
#D45EC1
secondary
#B0DEB8
accent
#E16047
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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