#D45FC9#D45FC9

#D45FC9 is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.6% C 0.193 H 331.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D45FC9
RGBrgb(212, 95, 201)
HSLhsl(306, 58%, 60%)
HSVhsv(306, 55%, 83%)
CMYKcmyk(0%, 55.2%, 5.2%, 16.9%)
CIE-LABlab(58.42, 59.43, -33.95)
CIE-LCHlch(58.42, 68.45, 330.26°)
OKLaboklab(66.62% 0.1691 -0.0928)
OKLCHoklch(66.62% 0.193 331.2)
XYZxyz(41.7860, 26.4013, 58.1421)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC9 #5FD46A
analogous
#A45FD4 #D45FC9 #D45F8E
triadic
#D45FC9 #C9D45F #5FC9D4
tetradic
#D45FC9 #D4A45F #5FD46A #5F8ED4
square
#D45FC9 #D4A45F #5FD46A #5F8ED4
split-complementary
#D45FC9 #8ED45F #5FD4A4
monochromatic
#912787 #C234B4 #D45FC9 #E18FD9 #EEBFEA

Accessibility & contrast

On white

3.34
#D45FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D45FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC9#FFFFFF#000000##000000
##D45FC91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CC
Deuteranopia (green-blind)
#7E92C6
Tritanopia (blue-blind)
#DC698B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc9;
/* rgb */ color: rgb(212, 95, 201);
/* oklch */ color: oklch(66.6% 0.193 331.2);
Tailwind
colors: {
  custom: {
    50: '#e492d9',
    500: '#d45fc9',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc9;
$custom-light: #e492d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc9",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 305.641,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66624,
    "c": 0.19292,
    "h": 331.2
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#D45FC9
secondary
#B1DEB5
accent
#C53020
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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