#D045CB#D045CB

#D045CB is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.3% C 0.228 H 329.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D045CB
RGBrgb(208, 69, 203)
HSLhsl(302, 60%, 54%)
HSVhsv(302, 67%, 82%)
CMYKcmyk(0%, 66.8%, 2.4%, 18.4%)
CIE-LABlab(54.01, 69.54, -42.06)
CIE-LCHlch(54.01, 81.27, 328.83°)
OKLaboklab(63.33% 0.1959 -0.116)
OKLCHoklch(63.33% 0.228 329.4)
XYZxyz(38.9197, 21.9808, 58.6812)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045CB #45D04A
analogous
#9045D0 #D045CB #D04586
triadic
#D045CB #CBD045 #45CBD0
tetradic
#D045CB #D09045 #45D04A #4586D0
square
#D045CB #D09045 #45D04A #4586D0
split-complementary
#D045CB #86D045 #45D090
monochromatic
#7B1F78 #AC2CA8 #D045CB #DC76D9 #E9A7E6

Accessibility & contrast

On white

3.89
#D045CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D045CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045CB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045CB#FFFFFF#000000##000000
##D045CB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#D75683
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d045cb;
/* rgb */ color: rgb(208, 69, 203);
/* oklch */ color: oklch(63.3% 0.228 329.4);
Tailwind
colors: {
  custom: {
    50: '#e284db',
    500: '#d045cb',
    950: '#000000',
  },
}
SCSS
$custom: #d045cb;
$custom-light: #e284db;
$custom-dark: #000000;
JSON
{
  "hex": "#d045cb",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 302.158,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63326,
    "c": 0.22771,
    "h": 329.4
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#D045CB
secondary
#9BD69D
accent
#E34B45
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D045CB

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

Preview Lab → · Contrast checker → · Palette generator →

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