#D45FCD#D45FCD

#D45FCD is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.8% C 0.196 H 329.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D45FCD
RGBrgb(212, 95, 205)
HSLhsl(304, 58%, 60%)
HSVhsv(304, 55%, 83%)
CMYKcmyk(0%, 55.2%, 3.3%, 16.9%)
CIE-LABlab(58.59, 60.10, -35.95)
CIE-LCHlch(58.59, 70.03, 329.11°)
OKLaboklab(66.81% 0.1697 -0.0985)
OKLCHoklch(66.81% 0.196 329.9)
XYZxyz(42.2627, 26.5920, 60.6525)
Luminance0.2659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FCD #5FD466
analogous
#A15FD4 #D45FCD #D45F92
triadic
#D45FCD #CDD45F #5FCDD4
tetradic
#D45FCD #D4A15F #5FD466 #5F92D4
square
#D45FCD #D4A15F #5FD466 #5F92D4
split-complementary
#D45FCD #92D45F #5FD4A1
monochromatic
#91278B #C234B9 #D45FCD #E18FDC #EEBFEB

Accessibility & contrast

On white

3.32
#D45FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D45FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FCD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FCD#FFFFFF#000000##000000
##D45FCD1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#DB6A8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45fcd;
/* rgb */ color: rgb(212, 95, 205);
/* oklch */ color: oklch(66.8% 0.196 329.9);
Tailwind
colors: {
  custom: {
    50: '#e492dc',
    500: '#d45fcd',
    950: '#000000',
  },
}
SCSS
$custom: #d45fcd;
$custom-light: #e492dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fcd",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 303.59,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.19622,
    "h": 329.9
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#D45FCD
secondary
#B1DEB4
accent
#C52A20
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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