#D45ED9#D45ED9

#D45ED9 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.3% C 0.208 H 326.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D45ED9
RGBrgb(212, 94, 217)
HSLhsl(298, 62%, 61%)
HSVhsv(298, 57%, 85%)
CMYKcmyk(2.3%, 56.7%, 0%, 14.9%)
CIE-LABlab(58.99, 62.62, -42.12)
CIE-LCHlch(58.99, 75.47, 326.07°)
OKLaboklab(67.28% 0.1723 -0.1163)
OKLCHoklch(67.28% 0.208 326)
XYZxyz(43.6776, 27.0147, 68.5460)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ED9 #63D95E
analogous
#965ED9 #D45ED9 #D95EA0
triadic
#D45ED9 #D9D45E #5ED9D4
tetradic
#D45ED9 #D9965E #63D95E #5EA0D9
square
#D45ED9 #D9965E #63D95E #5EA0D9
split-complementary
#D45ED9 #A0D95E #5ED996
monochromatic
#942499 #C430CA #D45ED9 #E190E5 #EEC1F0

Accessibility & contrast

On white

3.28
#D45ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D45ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ED9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ED9#FFFFFF#000000##000000
##D45ED91.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#7693D6
Tritanopia (blue-blind)
#D96E93
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d45ed9;
/* rgb */ color: rgb(212, 94, 217);
/* oklch */ color: oklch(67.3% 0.208 326.0);
Tailwind
colors: {
  custom: {
    50: '#e492e5',
    500: '#d45ed9',
    950: '#000000',
  },
}
SCSS
$custom: #d45ed9;
$custom-light: #e492e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ed9",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 297.561,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67284,
    "c": 0.2079,
    "h": 326
  },
  "luminance": 0.27012
}

Semantic roles & 50–950 ramp

primary
#D45ED9
secondary
#B4E1B2
accent
#CA1C23
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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