#D45DCD#D45DCD

#D45DCD is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.6% C 0.199 H 329.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D45DCD
RGBrgb(212, 93, 205)
HSLhsl(304, 58%, 60%)
HSVhsv(304, 56%, 83%)
CMYKcmyk(0%, 56.1%, 3.3%, 16.9%)
CIE-LABlab(58.26, 61.01, -36.47)
CIE-LCHlch(58.26, 71.08, 329.13°)
OKLaboklab(66.57% 0.1723 -0.1)
OKLCHoklch(66.57% 0.199 329.9)
XYZxyz(42.0848, 26.2363, 60.5932)
Luminance0.2623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DCD #5DD464
analogous
#9F5DD4 #D45DCD #D45D92
triadic
#D45DCD #CDD45D #5DCDD4
tetradic
#D45DCD #D49F5D #5DD464 #5D92D4
square
#D45DCD #D49F5D #5DD464 #5D92D4
split-complementary
#D45DCD #92D45D #5DD49F
monochromatic
#90268A #C133B8 #D45DCD #E18DDC #EEBEEB

Accessibility & contrast

On white

3.36
#D45DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D45DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DCD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DCD#FFFFFF#000000##000000
##D45DCD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#DB698D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45dcd;
/* rgb */ color: rgb(212, 93, 205);
/* oklch */ color: oklch(66.6% 0.199 329.9);
Tailwind
colors: {
  custom: {
    50: '#e491dc',
    500: '#d45dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d45dcd;
$custom-light: #e491dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45dcd",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 303.529,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.1992,
    "h": 329.9
  },
  "luminance": 0.26234
}

Semantic roles & 50–950 ramp

primary
#D45DCD
secondary
#AFDDB2
accent
#E15047
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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