#D45EC2#D45EC2

#D45EC2 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.2% C 0.189 H 333.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D45EC2
RGBrgb(212, 94, 194)
HSLhsl(309, 58%, 60%)
HSVhsv(309, 56%, 83%)
CMYKcmyk(0%, 55.7%, 8.5%, 16.9%)
CIE-LABlab(57.94, 58.74, -30.70)
CIE-LCHlch(57.94, 66.28, 332.41°)
OKLaboklab(66.18% 0.1693 -0.0835)
OKLCHoklch(66.18% 0.189 333.7)
XYZxyz(40.8918, 25.9004, 53.8740)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EC2 #5ED470
analogous
#AB5ED4 #D45EC2 #D45E87
triadic
#D45EC2 #C2D45E #5EC2D4
tetradic
#D45EC2 #D4AB5E #5ED470 #5E87D4
square
#D45EC2 #D4AB5E #5ED470 #5E87D4
split-complementary
#D45EC2 #87D45E #5ED4AB
monochromatic
#912781 #C134AC #D45EC2 #E18ED4 #EEBFE7

Accessibility & contrast

On white

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

On black

6.18
#D45EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EC2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EC2#FFFFFF#000000##000000
##D45EC21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#8091BF
Tritanopia (blue-blind)
#DD6688
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d45ec2;
/* rgb */ color: rgb(212, 94, 194);
/* oklch */ color: oklch(66.2% 0.189 333.7);
Tailwind
colors: {
  custom: {
    50: '#e491d4',
    500: '#d45ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d45ec2;
$custom-light: #e491d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ec2",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 309.153,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.18881,
    "h": 333.7
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#D45EC2
secondary
#B0DEB7
accent
#E15E47
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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