#D045D2#D045D2

#D045D2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.233 H 327.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D045D2
RGBrgb(208, 69, 210)
HSLhsl(299, 61%, 55%)
HSVhsv(299, 67%, 82%)
CMYKcmyk(1%, 67.1%, 0%, 17.6%)
CIE-LABlab(54.37, 70.68, -45.49)
CIE-LCHlch(54.37, 84.05, 327.23°)
OKLaboklab(63.7% 0.1962 -0.126)
OKLCHoklch(63.7% 0.233 327.3)
XYZxyz(39.7728, 22.3220, 63.1740)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045D2 #47D245
analogous
#8A45D2 #D045D2 #D2458E
triadic
#D045D2 #D2D045 #45D2D0
tetradic
#D045D2 #D28A45 #47D245 #458ED2
square
#D045D2 #D28A45 #47D245 #458ED2
split-complementary
#D045D2 #8ED245 #45D28A
monochromatic
#7D1F7E #AD2AAF #D045D2 #DC76DE #E9A8EA

Accessibility & contrast

On white

3.84
#D045D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D045D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045D2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045D2#FFFFFF#000000##000000
##D045D21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D6
Deuteranopia (green-blind)
#6788CE
Tritanopia (blue-blind)
#D65986
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d045d2;
/* rgb */ color: rgb(208, 69, 210);
/* oklch */ color: oklch(63.7% 0.233 327.3);
Tailwind
colors: {
  custom: {
    50: '#e284e0',
    500: '#d045d2',
    950: '#000000',
  },
}
SCSS
$custom: #d045d2;
$custom-light: #e284e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d045d2",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 299.149,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.23314,
    "h": 327.3
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#D045D2
secondary
#9DD79C
accent
#E44446
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D045D2

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

Preview Lab → · Contrast checker → · Palette generator →

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