#D45FCB#D45FCB

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

Color values

HEX#D45FCB
RGBrgb(212, 95, 203)
HSLhsl(305, 58%, 60%)
HSVhsv(305, 55%, 83%)
CMYKcmyk(0%, 55.2%, 4.2%, 16.9%)
CIE-LABlab(58.50, 59.77, -34.95)
CIE-LCHlch(58.50, 69.24, 329.68°)
OKLaboklab(66.72% 0.1694 -0.0957)
OKLCHoklch(66.72% 0.195 330.5)
XYZxyz(42.0228, 26.4960, 59.3892)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FCB #5FD468
analogous
#A25FD4 #D45FCB #D45F91
triadic
#D45FCB #CBD45F #5FCBD4
tetradic
#D45FCB #D4A25F #5FD468 #5F91D4
square
#D45FCB #D4A25F #5FD468 #5F91D4
split-complementary
#D45FCB #91D45F #5FD4A2
monochromatic
#912789 #C234B7 #D45FCB #E18FDB #EEBFEA

Accessibility & contrast

On white

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

On black

6.30
#D45FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FCB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FCB#FFFFFF#000000##000000
##D45FCB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#DB6A8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45fcb;
/* rgb */ color: rgb(212, 95, 203);
/* oklch */ color: oklch(66.7% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#e492db',
    500: '#d45fcb',
    950: '#000000',
  },
}
SCSS
$custom: #d45fcb;
$custom-light: #e492db;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fcb",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 304.615,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.19456,
    "h": 330.5
  },
  "luminance": 0.26493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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