#D45ED5#D45ED5

#D45ED5 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.204 H 327.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D45ED5
RGBrgb(212, 94, 213)
HSLhsl(299, 59%, 60%)
HSVhsv(299, 56%, 84%)
CMYKcmyk(0.5%, 55.9%, 0%, 16.5%)
CIE-LABlab(58.80, 61.92, -40.16)
CIE-LCHlch(58.80, 73.81, 327.03°)
OKLaboklab(67.08% 0.1719 -0.1107)
OKLCHoklch(67.08% 0.204 327.2)
XYZxyz(43.1636, 26.8092, 65.8391)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ED5 #5FD55E
analogous
#995ED5 #D45ED5 #D55E9A
triadic
#D45ED5 #D5D45E #5ED5D4
tetradic
#D45ED5 #D5995E #5FD55E #5E9AD5
square
#D45ED5 #D5995E #5FD55E #5E9AD5
split-complementary
#D45ED5 #9AD55E #5ED599
monochromatic
#912692 #C233C3 #D45ED5 #E18FE2 #EEBFEE

Accessibility & contrast

On white

3.30
#D45ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D45ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ED5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ED5#FFFFFF#000000##000000
##D45ED51.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184D9
Deuteranopia (green-blind)
#7893D2
Tritanopia (blue-blind)
#DA6C91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45ed5;
/* rgb */ color: rgb(212, 94, 213);
/* oklch */ color: oklch(67.1% 0.204 327.2);
Tailwind
colors: {
  custom: {
    50: '#e492e2',
    500: '#d45ed5',
    950: '#000000',
  },
}
SCSS
$custom: #d45ed5;
$custom-light: #e492e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ed5",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 299.496,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67083,
    "c": 0.20446,
    "h": 327.2
  },
  "luminance": 0.26807
}

Semantic roles & 50–950 ramp

primary
#D45ED5
secondary
#B1DEB1
accent
#C61F21
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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