#DD40D5#DD40D5

#DD40D5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.3% C 0.247 H 330.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DD40D5
RGBrgb(221, 64, 213)
HSLhsl(303, 70%, 56%)
HSVhsv(303, 71%, 87%)
CMYKcmyk(0%, 71%, 3.6%, 13.3%)
CIE-LABlab(55.93, 75.74, -44.59)
CIE-LCHlch(55.93, 87.89, 329.51°)
OKLaboklab(65.27% 0.2147 -0.123)
OKLCHoklch(65.27% 0.247 330.2)
XYZxyz(43.6622, 23.8464, 65.2411)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40D5 #40DD48
analogous
#9640DD #DD40D5 #DD4086
triadic
#DD40D5 #D5DD40 #40D5DD
tetradic
#DD40D5 #DD9640 #40DD48 #4086DD
square
#DD40D5 #DD9640 #40DD48 #4086DD
split-complementary
#DD40D5 #86DD40 #40DD96
monochromatic
#8A1984 #BE22B6 #DD40D5 #E674E0 #EFA8EC

Accessibility & contrast

On white

3.64
#DD40D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#DD40D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40D5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40D5#FFFFFF#000000##000000
##DD40D51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E78D9
Deuteranopia (green-blind)
#6F8ED1
Tritanopia (blue-blind)
#E55487
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd40d5;
/* rgb */ color: rgb(221, 64, 213);
/* oklch */ color: oklch(65.3% 0.247 330.2);
Tailwind
colors: {
  custom: {
    50: '#ec83e2',
    500: '#dd40d5',
    950: '#000000',
  },
}
SCSS
$custom: #dd40d5;
$custom-light: #ec83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40d5",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 303.057,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.24739,
    "h": 330.2
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#DD40D5
secondary
#9CDD9F
accent
#ED443B
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DD40D5

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

Preview Lab → · Contrast checker → · Palette generator →

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