#D045C2#D045C2

#D045C2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.9% C 0.221 H 332.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D045C2
RGBrgb(208, 69, 194)
HSLhsl(306, 60%, 54%)
HSVhsv(306, 67%, 82%)
CMYKcmyk(0%, 66.8%, 6.7%, 18.4%)
CIE-LABlab(53.56, 68.11, -37.59)
CIE-LCHlch(53.56, 77.80, 331.11°)
OKLaboklab(62.86% 0.1954 -0.1031)
OKLCHoklch(62.86% 0.221 332.2)
XYZxyz(37.8782, 21.5641, 53.1958)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045C2 #45D053
analogous
#9945D0 #D045C2 #D0457D
triadic
#D045C2 #C2D045 #45C2D0
tetradic
#D045C2 #D09945 #45D053 #457DD0
square
#D045C2 #D09945 #45D053 #457DD0
split-complementary
#D045C2 #7DD045 #45D099
monochromatic
#7B1F72 #AC2C9F #D045C2 #DC76D2 #E9A7E2

Accessibility & contrast

On white

3.95
#D045C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D045C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045C2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045C2#FFFFFF#000000##000000
##D045C21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#6F87BE
Tritanopia (blue-blind)
#D9537E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d045c2;
/* rgb */ color: rgb(208, 69, 194);
/* oklch */ color: oklch(62.9% 0.221 332.2);
Tailwind
colors: {
  custom: {
    50: '#e283d5',
    500: '#d045c2',
    950: '#000000',
  },
}
SCSS
$custom: #d045c2;
$custom-light: #e283d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d045c2",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 306.043,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62859,
    "c": 0.2209,
    "h": 332.2
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#D045C2
secondary
#9BD6A1
accent
#E35545
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D045C2

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

Preview Lab → · Contrast checker → · Palette generator →

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