#D045C9#D045C9

#D045C9 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.2% C 0.226 H 330.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D045C9
RGBrgb(208, 69, 201)
HSLhsl(303, 60%, 54%)
HSVhsv(303, 67%, 82%)
CMYKcmyk(0%, 66.8%, 3.4%, 18.4%)
CIE-LABlab(53.91, 69.22, -41.07)
CIE-LCHlch(53.91, 80.48, 329.32°)
OKLaboklab(63.22% 0.1958 -0.1132)
OKLCHoklch(63.22% 0.226 330)
XYZxyz(38.6829, 21.8860, 57.4340)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045C9 #45D04C
analogous
#9245D0 #D045C9 #D04583
triadic
#D045C9 #C9D045 #45C9D0
tetradic
#D045C9 #D09245 #45D04C #4583D0
square
#D045C9 #D09245 #45D04C #4583D0
split-complementary
#D045C9 #83D045 #45D092
monochromatic
#7B1F77 #AC2CA6 #D045C9 #DC76D7 #E9A7E5

Accessibility & contrast

On white

3.91
#D045C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D045C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045C9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045C9#FFFFFF#000000##000000
##D045C91.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CD
Deuteranopia (green-blind)
#6C88C5
Tritanopia (blue-blind)
#D75682
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d045c9;
/* rgb */ color: rgb(208, 69, 201);
/* oklch */ color: oklch(63.2% 0.226 330.0);
Tailwind
colors: {
  custom: {
    50: '#e284da',
    500: '#d045c9',
    950: '#000000',
  },
}
SCSS
$custom: #d045c9;
$custom-light: #e284da;
$custom-dark: #000000;
JSON
{
  "hex": "#d045c9",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 303.022,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.22618,
    "h": 330
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#D045C9
secondary
#9BD69E
accent
#E34D45
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D045C9

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

Preview Lab → · Contrast checker → · Palette generator →

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