#D045CD#D045CD

#D045CD is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.4% C 0.229 H 328.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D045CD
RGBrgb(208, 69, 205)
HSLhsl(301, 60%, 54%)
HSVhsv(301, 67%, 82%)
CMYKcmyk(0%, 66.8%, 1.4%, 18.4%)
CIE-LABlab(54.11, 69.86, -43.04)
CIE-LCHlch(54.11, 82.06, 328.36°)
OKLaboklab(63.43% 0.196 -0.1189)
OKLCHoklch(63.43% 0.229 328.8)
XYZxyz(39.1596, 22.0767, 59.9445)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045CD #45D048
analogous
#8E45D0 #D045CD #D04588
triadic
#D045CD #CDD045 #45CDD0
tetradic
#D045CD #D08E45 #45D048 #4588D0
square
#D045CD #D08E45 #45D048 #4588D0
split-complementary
#D045CD #88D045 #45D08E
monochromatic
#7B1F79 #AC2CA9 #D045CD #DC76DA #E9A7E7

Accessibility & contrast

On white

3.88
#D045CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D045CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045CD#FFFFFF#000000##000000
##D045CD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D1
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#D75784
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d045cd;
/* rgb */ color: rgb(208, 69, 205);
/* oklch */ color: oklch(63.4% 0.229 328.8);
Tailwind
colors: {
  custom: {
    50: '#e284dd',
    500: '#d045cd',
    950: '#000000',
  },
}
SCSS
$custom: #d045cd;
$custom-light: #e284dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d045cd",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 301.295,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.22925,
    "h": 328.8
  },
  "luminance": 0.22074
}

Semantic roles & 50–950 ramp

primary
#D045CD
secondary
#9BD69C
accent
#E34845
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D045CD

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

Preview Lab → · Contrast checker → · Palette generator →

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