#D45FC4#D45FC4

#D45FC4 is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.4% C 0.189 H 333.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D45FC4
RGBrgb(212, 95, 196)
HSLhsl(308, 58%, 60%)
HSVhsv(308, 55%, 83%)
CMYKcmyk(0%, 55.2%, 7.5%, 16.9%)
CIE-LABlab(58.20, 58.61, -31.44)
CIE-LCHlch(58.20, 66.51, 331.79°)
OKLaboklab(66.39% 0.1683 -0.0857)
OKLCHoklch(66.39% 0.189 333)
XYZxyz(41.2074, 26.1699, 55.0947)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC4 #5FD46F
analogous
#A95FD4 #D45FC4 #D45F8A
triadic
#D45FC4 #C4D45F #5FC4D4
tetradic
#D45FC4 #D4A95F #5FD46F #5F8AD4
square
#D45FC4 #D4A95F #5FD46F #5F8AD4
split-complementary
#D45FC4 #8AD45F #5FD4A9
monochromatic
#912783 #C234AE #D45FC4 #E18FD6 #EEBFE8

Accessibility & contrast

On white

3.37
#D45FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D45FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC4#FFFFFF#000000##000000
##D45FC41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#8092C1
Tritanopia (blue-blind)
#DC6789
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc4;
/* rgb */ color: rgb(212, 95, 196);
/* oklch */ color: oklch(66.4% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#e492d6',
    500: '#d45fc4',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc4;
$custom-light: #e492d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc4",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 308.205,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66392,
    "c": 0.18887,
    "h": 333
  },
  "luminance": 0.26167
}

Semantic roles & 50–950 ramp

primary
#D45FC4
secondary
#B1DEB7
accent
#C53720
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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