#D45DE7#D45DE7

#D45DE7 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.9% C 0.222 H 321.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D45DE7
RGBrgb(212, 93, 231)
HSLhsl(292, 74%, 64%)
HSVhsv(292, 60%, 91%)
CMYKcmyk(8.2%, 59.7%, 0%, 9.4%)
CIE-LABlab(59.52, 65.57, -49.14)
CIE-LCHlch(59.52, 81.94, 323.15°)
OKLaboklab(67.9% 0.1745 -0.1366)
OKLCHoklch(67.9% 0.222 321.9)
XYZxyz(45.4880, 27.5976, 78.5167)
Luminance0.2759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DE7 #70E75D
analogous
#8F5DE7 #D45DE7 #E75DB5
triadic
#D45DE7 #E7D45D #5DE7D4
tetradic
#D45DE7 #E78F5D #70E75D #5DB5E7
square
#D45DE7 #E78F5D #70E75D #5DB5E7
split-complementary
#D45DE7 #B5E75D #5DE78F
monochromatic
#9B1AB0 #C628DF #D45DE7 #E292EF #F0C8F7

Accessibility & contrast

On white

3.22
#D45DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D45DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DE7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DE7#FFFFFF#000000##000000
##D45DE71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EB
Deuteranopia (green-blind)
#6D94E3
Tritanopia (blue-blind)
#D6729A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d45de7;
/* rgb */ color: rgb(212, 93, 231);
/* oklch */ color: oklch(67.9% 0.222 321.9);
Tailwind
colors: {
  custom: {
    50: '#e491ef',
    500: '#d45de7',
    950: '#000000',
  },
}
SCSS
$custom: #d45de7;
$custom-light: #e491ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d45de7",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 291.739,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67901,
    "c": 0.22163,
    "h": 321.9
  },
  "luminance": 0.27595
}

Semantic roles & 50–950 ramp

primary
#D45DE7
secondary
#BEE8B7
accent
#D60F2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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