#D45FC8#D45FC8

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

Color values

HEX#D45FC8
RGBrgb(212, 95, 200)
HSLhsl(306, 58%, 60%)
HSVhsv(306, 55%, 83%)
CMYKcmyk(0%, 55.2%, 5.7%, 16.9%)
CIE-LABlab(58.37, 59.27, -33.45)
CIE-LCHlch(58.37, 68.06, 330.56°)
OKLaboklab(66.58% 0.169 -0.0914)
OKLCHoklch(66.58% 0.192 331.6)
XYZxyz(41.6687, 26.3544, 57.5246)
Luminance0.2635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC8 #5FD46B
analogous
#A65FD4 #D45FC8 #D45F8D
triadic
#D45FC8 #C8D45F #5FC8D4
tetradic
#D45FC8 #D4A65F #5FD46B #5F8DD4
square
#D45FC8 #D4A65F #5FD46B #5F8DD4
split-complementary
#D45FC8 #8DD45F #5FD4A6
monochromatic
#912787 #C234B3 #D45FC8 #E18FD9 #EEBFE9

Accessibility & contrast

On white

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

On black

6.27
#D45FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC8#FFFFFF#000000##000000
##D45FC81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#7E92C5
Tritanopia (blue-blind)
#DC698B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc8;
/* rgb */ color: rgb(212, 95, 200);
/* oklch */ color: oklch(66.6% 0.192 331.6);
Tailwind
colors: {
  custom: {
    50: '#e492d9',
    500: '#d45fc8',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc8;
$custom-light: #e492d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc8",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 306.154,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.1921,
    "h": 331.6
  },
  "luminance": 0.26352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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