#D45DF2#D45DF2

#D45DF2 is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.5% C 0.232 H 319.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#D45DF2
RGBrgb(212, 93, 242)
HSLhsl(288, 85%, 66%)
HSVhsv(288, 62%, 95%)
CMYKcmyk(12.4%, 61.6%, 0%, 5.1%)
CIE-LABlab(60.10, 67.61, -54.34)
CIE-LCHlch(60.10, 86.74, 321.21°)
OKLaboklab(68.51% 0.1748 -0.1518)
OKLCHoklch(68.51% 0.232 319)
XYZxyz(47.0906, 28.2386, 86.9573)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DF2 #7BF25D
analogous
#895DF2 #D45DF2 #F25DC6
triadic
#D45DF2 #F2D45D #5DF2D4
tetradic
#D45DF2 #F2895D #7BF25D #5DC6F2
square
#D45DF2 #F2895D #7BF25D #5DC6F2
split-complementary
#D45DF2 #C6F25D #5DF289
monochromatic
#A010C5 #C524ED #D45DF2 #E396F7 #F2CEFB

Accessibility & contrast

On white

3.16
#D45DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#D45DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DF2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DF2#FFFFFF#000000##000000
##D45DF21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#D4769F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45df2;
/* rgb */ color: rgb(212, 93, 242);
/* oklch */ color: oklch(68.5% 0.232 319.0);
Tailwind
colors: {
  custom: {
    50: '#e592f7',
    500: '#d45df2',
    950: '#000000',
  },
}
SCSS
$custom: #d45df2;
$custom-light: #e592f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45df2",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 287.919,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6851,
    "c": 0.23152,
    "h": 319
  },
  "luminance": 0.28237
}

Semantic roles & 50–950 ramp

primary
#D45DF2
secondary
#C7EEBD
accent
#E20431
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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