#D45FCC#D45FCC

#D45FCC is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.8% C 0.195 H 330.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D45FCC
RGBrgb(212, 95, 204)
HSLhsl(304, 58%, 60%)
HSVhsv(304, 55%, 83%)
CMYKcmyk(0%, 55.2%, 3.8%, 16.9%)
CIE-LABlab(58.55, 59.93, -35.45)
CIE-LCHlch(58.55, 69.63, 329.39°)
OKLaboklab(66.77% 0.1695 -0.0971)
OKLCHoklch(66.77% 0.195 330.2)
XYZxyz(42.1423, 26.5438, 60.0188)
Luminance0.2654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FCC #5FD467
analogous
#A25FD4 #D45FCC #D45F91
triadic
#D45FCC #CCD45F #5FCCD4
tetradic
#D45FCC #D4A25F #5FD467 #5F91D4
square
#D45FCC #D4A25F #5FD467 #5F91D4
split-complementary
#D45FCC #91D45F #5FD4A2
monochromatic
#91278A #C234B8 #D45FCC #E18FDB #EEBFEB

Accessibility & contrast

On white

3.33
#D45FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D45FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FCC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FCC#FFFFFF#000000##000000
##D45FCC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#DB6A8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45fcc;
/* rgb */ color: rgb(212, 95, 204);
/* oklch */ color: oklch(66.8% 0.195 330.2);
Tailwind
colors: {
  custom: {
    50: '#e492dc',
    500: '#d45fcc',
    950: '#000000',
  },
}
SCSS
$custom: #d45fcc;
$custom-light: #e492dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fcc",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 304.103,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.19539,
    "h": 330.2
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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