#D045C7#D045C7

#D045C7 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.1% C 0.225 H 330.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D045C7
RGBrgb(208, 69, 199)
HSLhsl(304, 60%, 54%)
HSVhsv(304, 67%, 82%)
CMYKcmyk(0%, 66.8%, 4.3%, 18.4%)
CIE-LABlab(53.81, 68.90, -40.08)
CIE-LCHlch(53.81, 79.71, 329.81°)
OKLaboklab(63.12% 0.1957 -0.1103)
OKLCHoklch(63.12% 0.225 330.6)
XYZxyz(38.4492, 21.7925, 56.2031)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045C7 #45D04E
analogous
#9445D0 #D045C7 #D04582
triadic
#D045C7 #C7D045 #45C7D0
tetradic
#D045C7 #D09445 #45D04E #4582D0
square
#D045C7 #D09445 #45D04E #4582D0
split-complementary
#D045C7 #82D045 #45D094
monochromatic
#7B1F75 #AC2CA4 #D045C7 #DC76D6 #E9A7E4

Accessibility & contrast

On white

3.92
#D045C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D045C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045C7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045C7#FFFFFF#000000##000000
##D045C71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CB
Deuteranopia (green-blind)
#6D87C3
Tritanopia (blue-blind)
#D85581
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d045c7;
/* rgb */ color: rgb(208, 69, 199);
/* oklch */ color: oklch(63.1% 0.225 330.6);
Tailwind
colors: {
  custom: {
    50: '#e284d8',
    500: '#d045c7',
    950: '#000000',
  },
}
SCSS
$custom: #d045c7;
$custom-light: #e284d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d045c7",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 303.885,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63116,
    "c": 0.22466,
    "h": 330.6
  },
  "luminance": 0.2179
}

Semantic roles & 50–950 ramp

primary
#D045C7
secondary
#9BD69F
accent
#E34F45
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D045C7

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

Preview Lab → · Contrast checker → · Palette generator →

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