#D45CDF#D45CDF

#D45CDF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.216 H 324.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D45CDF
RGBrgb(212, 92, 223)
HSLhsl(295, 67%, 62%)
HSVhsv(295, 59%, 87%)
CMYKcmyk(4.9%, 58.7%, 0%, 12.5%)
CIE-LABlab(58.96, 64.57, -45.55)
CIE-LCHlch(58.96, 79.01, 324.80°)
OKLaboklab(67.36% 0.1753 -0.1262)
OKLCHoklch(67.36% 0.216 324.2)
XYZxyz(44.2967, 26.9815, 72.6725)
Luminance0.2698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CDF #67DF5C
analogous
#935CDF #D45CDF #DF5CA9
triadic
#D45CDF #DFD45C #5CDFD4
tetradic
#D45CDF #DF935C #67DF5C #5CA9DF
square
#D45CDF #DF935C #67DF5C #5CA9DF
split-complementary
#D45CDF #A9DF5C #5CDF93
monochromatic
#9620A1 #C62AD4 #D45CDF #E18FE9 #EFC2F3

Accessibility & contrast

On white

3.28
#D45CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D45CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CDF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CDF#FFFFFF#000000##000000
##D45CDF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4685E3
Deuteranopia (green-blind)
#7193DB
Tritanopia (blue-blind)
#D86E95
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d45cdf;
/* rgb */ color: rgb(212, 92, 223);
/* oklch */ color: oklch(67.4% 0.216 324.2);
Tailwind
colors: {
  custom: {
    50: '#e491e9',
    500: '#d45cdf',
    950: '#000000',
  },
}
SCSS
$custom: #d45cdf;
$custom-light: #e491e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cdf",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 294.962,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.21597,
    "h": 324.2
  },
  "luminance": 0.26979
}

Semantic roles & 50–950 ramp

primary
#D45CDF
secondary
#B7E4B3
accent
#CF1626
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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