#D045D6#D045D6

#D045D6 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.236 H 326.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D045D6
RGBrgb(208, 69, 214)
HSLhsl(298, 64%, 55%)
HSVhsv(298, 68%, 84%)
CMYKcmyk(2.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(54.58, 71.34, -47.43)
CIE-LCHlch(54.58, 85.67, 326.38°)
OKLaboklab(63.92% 0.1963 -0.1316)
OKLCHoklch(63.92% 0.236 326.2)
XYZxyz(40.2774, 22.5238, 65.8314)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045D6 #4BD645
analogous
#8745D6 #D045D6 #D64594
triadic
#D045D6 #D6D045 #45D6D0
tetradic
#D045D6 #D68745 #4BD645 #4594D6
square
#D045D6 #D68745 #4BD645 #4594D6
split-complementary
#D045D6 #94D645 #45D687
monochromatic
#7F1D84 #B028B6 #D045D6 #DD77E1 #E9A9EC

Accessibility & contrast

On white

3.82
#D045D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D045D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045D6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045D6#FFFFFF#000000##000000
##D045D61.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877DA
Deuteranopia (green-blind)
#6589D2
Tritanopia (blue-blind)
#D55B89
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d045d6;
/* rgb */ color: rgb(208, 69, 214);
/* oklch */ color: oklch(63.9% 0.236 326.2);
Tailwind
colors: {
  custom: {
    50: '#e284e3',
    500: '#d045d6',
    950: '#000000',
  },
}
SCSS
$custom: #d045d6;
$custom-light: #e284e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d045d6",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 297.517,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.23629,
    "h": 326.2
  },
  "luminance": 0.22521
}

Semantic roles & 50–950 ramp

primary
#D045D6
secondary
#A0DA9D
accent
#E74148
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D045D6

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

Preview Lab → · Contrast checker → · Palette generator →

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