#D45FC5#D45FC5

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

Color values

HEX#D45FC5
RGBrgb(212, 95, 197)
HSLhsl(308, 58%, 60%)
HSVhsv(308, 55%, 83%)
CMYKcmyk(0%, 55.2%, 7.1%, 16.9%)
CIE-LABlab(58.24, 58.77, -31.95)
CIE-LCHlch(58.24, 66.89, 331.47°)
OKLaboklab(66.44% 0.1685 -0.0871)
OKLCHoklch(66.44% 0.19 332.7)
XYZxyz(41.3216, 26.2155, 55.6962)
Luminance0.2621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC5 #5FD46E
analogous
#A85FD4 #D45FC5 #D45F8B
triadic
#D45FC5 #C5D45F #5FC5D4
tetradic
#D45FC5 #D4A85F #5FD46E #5F8BD4
square
#D45FC5 #D4A85F #5FD46E #5F8BD4
split-complementary
#D45FC5 #8BD45F #5FD4A8
monochromatic
#912784 #C234B0 #D45FC5 #E18FD6 #EEBFE8

Accessibility & contrast

On white

3.36
#D45FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D45FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC5#FFFFFF#000000##000000
##D45FC51.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#7F92C2
Tritanopia (blue-blind)
#DC6889
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc5;
/* rgb */ color: rgb(212, 95, 197);
/* oklch */ color: oklch(66.4% 0.190 332.7);
Tailwind
colors: {
  custom: {
    50: '#e492d7',
    500: '#d45fc5',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc5;
$custom-light: #e492d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc5",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 307.692,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.18968,
    "h": 332.7
  },
  "luminance": 0.26213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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