#D45CD5#D45CD5

#D45CD5 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.8% C 0.207 H 327.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D45CD5
RGBrgb(212, 92, 213)
HSLhsl(300, 59%, 60%)
HSVhsv(300, 57%, 84%)
CMYKcmyk(0.5%, 56.8%, 0%, 16.5%)
CIE-LABlab(58.47, 62.81, -40.68)
CIE-LCHlch(58.47, 74.83, 327.07°)
OKLaboklab(66.84% 0.1744 -0.1121)
OKLCHoklch(66.84% 0.207 327.3)
XYZxyz(42.9881, 26.4581, 65.7806)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD5 #5DD55C
analogous
#975CD5 #D45CD5 #D55C9A
triadic
#D45CD5 #D5D45C #5CD5D4
tetradic
#D45CD5 #D5975C #5DD55C #5C9AD5
square
#D45CD5 #D5975C #5DD55C #5C9AD5
split-complementary
#D45CD5 #9AD55C #5CD597
monochromatic
#902591 #C132C2 #D45CD5 #E18DE2 #EEBDEE

Accessibility & contrast

On white

3.34
#D45CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D45CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CD5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CD5#FFFFFF#000000##000000
##D45CD51.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83D9
Deuteranopia (green-blind)
#7692D2
Tritanopia (blue-blind)
#DA6B90
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cd5;
/* rgb */ color: rgb(212, 92, 213);
/* oklch */ color: oklch(66.8% 0.207 327.3);
Tailwind
colors: {
  custom: {
    50: '#e490e2',
    500: '#d45cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd5;
$custom-light: #e490e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd5",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 299.504,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.20736,
    "h": 327.3
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#D45CD5
secondary
#AFDEAF
accent
#E24647
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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