#D45FCF#D45FCF

#D45FCF is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.9% C 0.198 H 329.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D45FCF
RGBrgb(212, 95, 207)
HSLhsl(303, 58%, 60%)
HSVhsv(303, 55%, 83%)
CMYKcmyk(0%, 55.2%, 2.4%, 16.9%)
CIE-LABlab(58.69, 60.44, -36.94)
CIE-LCHlch(58.69, 70.84, 328.57°)
OKLaboklab(66.91% 0.1699 -0.1014)
OKLCHoklch(66.91% 0.198 329.2)
XYZxyz(42.5056, 26.6892, 61.9321)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FCF #5FD464
analogous
#9E5FD4 #D45FCF #D45F95
triadic
#D45FCF #CFD45F #5FCFD4
tetradic
#D45FCF #D49E5F #5FD464 #5F95D4
square
#D45FCF #D49E5F #5FD464 #5F95D4
split-complementary
#D45FCF #95D45F #5FD49E
monochromatic
#91278D #C234BC #D45FCF #E18FDD #EEBFEC

Accessibility & contrast

On white

3.31
#D45FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D45FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FCF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FCF#FFFFFF#000000##000000
##D45FCF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D3
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#DB6B8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45fcf;
/* rgb */ color: rgb(212, 95, 207);
/* oklch */ color: oklch(66.9% 0.198 329.2);
Tailwind
colors: {
  custom: {
    50: '#e492de',
    500: '#d45fcf',
    950: '#000000',
  },
}
SCSS
$custom: #d45fcf;
$custom-light: #e492de;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fcf",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 302.564,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6691,
    "c": 0.19789,
    "h": 329.2
  },
  "luminance": 0.26686
}

Semantic roles & 50–950 ramp

primary
#D45FCF
secondary
#B1DEB3
accent
#C52720
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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