#D045C5#D045C5

#D045C5 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.223 H 331.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D045C5
RGBrgb(208, 69, 197)
HSLhsl(305, 60%, 54%)
HSVhsv(305, 67%, 82%)
CMYKcmyk(0%, 66.8%, 5.3%, 18.4%)
CIE-LABlab(53.71, 68.58, -39.08)
CIE-LCHlch(53.71, 78.94, 330.32°)
OKLaboklab(63.01% 0.1956 -0.1074)
OKLCHoklch(63.01% 0.223 331.2)
XYZxyz(38.2185, 21.7003, 54.9881)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045C5 #45D050
analogous
#9645D0 #D045C5 #D04580
triadic
#D045C5 #C5D045 #45C5D0
tetradic
#D045C5 #D09645 #45D050 #4580D0
square
#D045C5 #D09645 #45D050 #4580D0
split-complementary
#D045C5 #80D045 #45D096
monochromatic
#7B1F74 #AC2CA2 #D045C5 #DC76D4 #E9A7E3

Accessibility & contrast

On white

3.93
#D045C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D045C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045C5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045C5#FFFFFF#000000##000000
##D045C51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C9
Deuteranopia (green-blind)
#6E87C1
Tritanopia (blue-blind)
#D8547F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d045c5;
/* rgb */ color: rgb(208, 69, 197);
/* oklch */ color: oklch(63.0% 0.223 331.2);
Tailwind
colors: {
  custom: {
    50: '#e284d7',
    500: '#d045c5',
    950: '#000000',
  },
}
SCSS
$custom: #d045c5;
$custom-light: #e284d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d045c5",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 304.748,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63013,
    "c": 0.22315,
    "h": 331.2
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#D045C5
secondary
#9BD6A0
accent
#E35145
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D045C5

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

Preview Lab → · Contrast checker → · Palette generator →

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