#D45FC7#D45FC7

#D45FC7 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.5% C 0.191 H 331.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D45FC7
RGBrgb(212, 95, 199)
HSLhsl(307, 58%, 60%)
HSVhsv(307, 55%, 83%)
CMYKcmyk(0%, 55.2%, 6.1%, 16.9%)
CIE-LABlab(58.33, 59.10, -32.95)
CIE-LCHlch(58.33, 67.67, 330.86°)
OKLaboklab(66.53% 0.1688 -0.09)
OKLCHoklch(66.53% 0.191 331.9)
XYZxyz(41.5523, 26.3078, 56.9111)
Luminance0.2631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC7 #5FD46C
analogous
#A75FD4 #D45FC7 #D45F8C
triadic
#D45FC7 #C7D45F #5FC7D4
tetradic
#D45FC7 #D4A75F #5FD46C #5F8CD4
square
#D45FC7 #D4A75F #5FD46C #5F8CD4
split-complementary
#D45FC7 #8CD45F #5FD4A7
monochromatic
#912786 #C234B2 #D45FC7 #E18FD8 #EEBFE9

Accessibility & contrast

On white

3.35
#D45FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D45FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC7#FFFFFF#000000##000000
##D45FC71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#7E92C4
Tritanopia (blue-blind)
#DC688A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc7;
/* rgb */ color: rgb(212, 95, 199);
/* oklch */ color: oklch(66.5% 0.191 331.9);
Tailwind
colors: {
  custom: {
    50: '#e492d8',
    500: '#d45fc7',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc7;
$custom-light: #e492d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc7",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 306.667,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66531,
    "c": 0.19128,
    "h": 331.9
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#D45FC7
secondary
#B1DEB6
accent
#C53320
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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