#D45ED2#D45ED2

#D45ED2 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 66.9% C 0.202 H 328.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D45ED2
RGBrgb(212, 94, 210)
HSLhsl(301, 58%, 60%)
HSVhsv(301, 56%, 83%)
CMYKcmyk(0%, 55.7%, 0.9%, 16.9%)
CIE-LABlab(58.66, 61.40, -38.69)
CIE-LCHlch(58.66, 72.57, 327.79°)
OKLaboklab(66.93% 0.1716 -0.1064)
OKLCHoklch(66.93% 0.202 328.2)
XYZxyz(42.7864, 26.6583, 63.8522)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ED2 #5ED460
analogous
#9B5ED4 #D45ED2 #D45E97
triadic
#D45ED2 #D2D45E #5ED2D4
tetradic
#D45ED2 #D49B5E #5ED460 #5E97D4
square
#D45ED2 #D49B5E #5ED460 #5E97D4
split-complementary
#D45ED2 #97D45E #5ED49B
monochromatic
#91278F #C134BF #D45ED2 #E18EDF #EEBFED

Accessibility & contrast

On white

3.32
#D45ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D45ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ED2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ED2#FFFFFF#000000##000000
##D45ED21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D6
Deuteranopia (green-blind)
#7993CF
Tritanopia (blue-blind)
#DA6B8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45ed2;
/* rgb */ color: rgb(212, 94, 210);
/* oklch */ color: oklch(66.9% 0.202 328.2);
Tailwind
colors: {
  custom: {
    50: '#e492e0',
    500: '#d45ed2',
    950: '#000000',
  },
}
SCSS
$custom: #d45ed2;
$custom-light: #e492e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ed2",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 301.017,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.2019,
    "h": 328.2
  },
  "luminance": 0.26656
}

Semantic roles & 50–950 ramp

primary
#D45ED2
secondary
#B0DEB1
accent
#E14947
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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