#D45CD6#D45CD6

#D45CD6 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.208 H 327.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#D45CD6
RGBrgb(212, 92, 214)
HSLhsl(299, 60%, 60%)
HSVhsv(299, 57%, 84%)
CMYKcmyk(0.9%, 57%, 0%, 16.1%)
CIE-LABlab(58.52, 62.99, -41.17)
CIE-LCHlch(58.52, 75.25, 326.83°)
OKLaboklab(66.89% 0.1745 -0.1135)
OKLCHoklch(66.89% 0.208 327)
XYZxyz(43.1154, 26.5090, 66.4511)
Luminance0.2651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD6 #5ED65C
analogous
#975CD6 #D45CD6 #D65C9B
triadic
#D45CD6 #D6D45C #5CD6D4
tetradic
#D45CD6 #D6975C #5ED65C #5C9BD6
square
#D45CD6 #D6975C #5ED65C #5C9BD6
split-complementary
#D45CD6 #9BD65C #5CD697
monochromatic
#912593 #C131C4 #D45CD6 #E18DE2 #EEBEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D45CD6#FFFFFF#000000##000000
##D45CD61.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)
#4D83DA
Deuteranopia (green-blind)
#7692D3
Tritanopia (blue-blind)
#DA6B91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cd6;
/* rgb */ color: rgb(212, 92, 214);
/* oklch */ color: oklch(66.9% 0.208 327.0);
Tailwind
colors: {
  custom: {
    50: '#e490e3',
    500: '#d45cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd6;
$custom-light: #e490e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd6",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 299.016,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.66894,
    "c": 0.20821,
    "h": 327
  },
  "luminance": 0.26506
}

Semantic roles & 50–950 ramp

primary
#D45CD6
secondary
#B0DEAF
accent
#E34547
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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