#D45FD9#D45FD9

#D45FD9 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.4% C 0.206 H 326.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D45FD9
RGBrgb(212, 95, 217)
HSLhsl(298, 62%, 61%)
HSVhsv(298, 56%, 85%)
CMYKcmyk(2.3%, 56.2%, 0%, 14.9%)
CIE-LABlab(59.15, 62.17, -41.86)
CIE-LCHlch(59.15, 74.95, 326.05°)
OKLaboklab(67.41% 0.1711 -0.1156)
OKLCHoklch(67.41% 0.206 326)
XYZxyz(43.7671, 27.1937, 68.5758)
Luminance0.2719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FD9 #64D95F
analogous
#975FD9 #D45FD9 #D95FA1
triadic
#D45FD9 #D9D45F #5FD9D4
tetradic
#D45FD9 #D9975F #64D95F #5FA1D9
square
#D45FD9 #D9975F #64D95F #5FA1D9
split-complementary
#D45FD9 #A1D95F #5FD997
monochromatic
#942499 #C430CB #D45FD9 #E190E5 #EFC2F0

Accessibility & contrast

On white

3.26
#D45FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D45FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FD9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FD9#FFFFFF#000000##000000
##D45FD91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DD
Deuteranopia (green-blind)
#7694D6
Tritanopia (blue-blind)
#D96E93
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d45fd9;
/* rgb */ color: rgb(212, 95, 217);
/* oklch */ color: oklch(67.4% 0.206 326.0);
Tailwind
colors: {
  custom: {
    50: '#e492e5',
    500: '#d45fd9',
    950: '#000000',
  },
}
SCSS
$custom: #d45fd9;
$custom-light: #e492e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fd9",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 297.541,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67405,
    "c": 0.20644,
    "h": 326
  },
  "luminance": 0.27191
}

Semantic roles & 50–950 ramp

primary
#D45FD9
secondary
#B5E1B3
accent
#C91C23
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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