#D45CD7#D45CD7

#D45CD7 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 66.9% C 0.209 H 326.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D45CD7
RGBrgb(212, 92, 215)
HSLhsl(299, 61%, 60%)
HSVhsv(299, 57%, 84%)
CMYKcmyk(1.4%, 57.2%, 0%, 15.7%)
CIE-LABlab(58.56, 63.16, -41.66)
CIE-LCHlch(58.56, 75.66, 326.59°)
OKLaboklab(66.94% 0.1746 -0.1149)
OKLCHoklch(66.94% 0.209 326.6)
XYZxyz(43.2435, 26.5602, 67.1257)
Luminance0.2656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD7 #5FD75C
analogous
#975CD7 #D45CD7 #D75C9C
triadic
#D45CD7 #D7D45C #5CD7D4
tetradic
#D45CD7 #D7975C #5FD75C #5C9CD7
square
#D45CD7 #D7975C #5FD75C #5C9CD7
split-complementary
#D45CD7 #9CD75C #5CD797
monochromatic
#912494 #C230C5 #D45CD7 #E18DE3 #EEBEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D45CD7#FFFFFF#000000##000000
##D45CD71.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)
#4D83DB
Deuteranopia (green-blind)
#7592D4
Tritanopia (blue-blind)
#D96B91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cd7;
/* rgb */ color: rgb(212, 92, 215);
/* oklch */ color: oklch(66.9% 0.209 326.6);
Tailwind
colors: {
  custom: {
    50: '#e490e4',
    500: '#d45cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd7;
$custom-light: #e490e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd7",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 298.537,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66944,
    "c": 0.20906,
    "h": 326.6
  },
  "luminance": 0.26558
}

Semantic roles & 50–950 ramp

primary
#D45CD7
secondary
#B1DFB0
accent
#C81D21
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D45CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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