#D45FE5#D45FE5

#D45FE5 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.0% C 0.217 H 322.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D45FE5
RGBrgb(212, 95, 229)
HSLhsl(292, 72%, 64%)
HSVhsv(292, 59%, 90%)
CMYKcmyk(7.4%, 58.5%, 0%, 10.2%)
CIE-LABlab(59.74, 64.32, -47.67)
CIE-LCHlch(59.74, 80.06, 323.46°)
OKLaboklab(68.03% 0.172 -0.1324)
OKLCHoklch(68.03% 0.217 322.4)
XYZxyz(45.3850, 27.8409, 77.0968)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FE5 #70E55F
analogous
#915FE5 #D45FE5 #E55FB3
triadic
#D45FE5 #E5D45F #5FE5D4
tetradic
#D45FE5 #E5915F #70E55F #5FB3E5
square
#D45FE5 #E5915F #70E55F #5FB3E5
split-complementary
#D45FE5 #B3E55F #5FE591
monochromatic
#9B1CAD #C62ADC #D45FE5 #E294EE #F0C8F6

Accessibility & contrast

On white

3.20
#D45FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D45FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FE5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FE5#FFFFFF#000000##000000
##D45FE51.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#7095E1
Tritanopia (blue-blind)
#D77399
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45fe5;
/* rgb */ color: rgb(212, 95, 229);
/* oklch */ color: oklch(68.0% 0.217 322.4);
Tailwind
colors: {
  custom: {
    50: '#e493ee',
    500: '#d45fe5',
    950: '#000000',
  },
}
SCSS
$custom: #d45fe5;
$custom-light: #e493ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fe5",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 292.388,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.21703,
    "h": 322.4
  },
  "luminance": 0.27839
}

Semantic roles & 50–950 ramp

primary
#D45FE5
secondary
#BEE8B8
accent
#D4112A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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