#D45CD9#D45CD9

#D45CD9 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.0% C 0.211 H 326.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D45CD9
RGBrgb(212, 92, 217)
HSLhsl(298, 62%, 61%)
HSVhsv(298, 58%, 85%)
CMYKcmyk(2.3%, 57.6%, 0%, 14.9%)
CIE-LABlab(58.66, 63.51, -42.63)
CIE-LCHlch(58.66, 76.49, 326.13°)
OKLaboklab(67.05% 0.1748 -0.1178)
OKLCHoklch(67.05% 0.211 326)
XYZxyz(43.5020, 26.6636, 68.4874)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD9 #61D95C
analogous
#955CD9 #D45CD9 #D95C9F
triadic
#D45CD9 #D9D45C #5CD9D4
tetradic
#D45CD9 #D9955C #61D95C #5C9FD9
square
#D45CD9 #D9955C #61D95C #5C9FD9
split-complementary
#D45CD9 #9FD95C #5CD995
monochromatic
#932397 #C32FC9 #D45CD9 #E18EE5 #EEBFF0

Accessibility & contrast

On white

3.32
#D45CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D45CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CD9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CD9#FFFFFF#000000##000000
##D45CD91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#7492D6
Tritanopia (blue-blind)
#D96C92
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cd9;
/* rgb */ color: rgb(212, 92, 217);
/* oklch */ color: oklch(67.0% 0.211 326.0);
Tailwind
colors: {
  custom: {
    50: '#e491e5',
    500: '#d45cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd9;
$custom-light: #e491e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd9",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 297.6,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.21078,
    "h": 326
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#D45CD9
secondary
#B3E0B1
accent
#CA1C23
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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