#DD40D9#DD40D9

#DD40D9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.5% C 0.250 H 329.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#DD40D9
RGBrgb(221, 64, 217)
HSLhsl(302, 70%, 56%)
HSVhsv(302, 71%, 87%)
CMYKcmyk(0%, 71%, 1.8%, 13.3%)
CIE-LABlab(56.14, 76.36, -46.53)
CIE-LCHlch(56.14, 89.42, 328.64°)
OKLaboklab(65.49% 0.2147 -0.1286)
OKLCHoklch(65.49% 0.25 329.1)
XYZxyz(44.1762, 24.0520, 67.9480)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40D9 #40DD44
analogous
#9340DD #DD40D9 #DD408A
triadic
#DD40D9 #D9DD40 #40D9DD
tetradic
#DD40D9 #DD9340 #40DD44 #408ADD
square
#DD40D9 #DD9340 #40DD44 #408ADD
split-complementary
#DD40D9 #8ADD40 #40DD93
monochromatic
#8A1987 #BE22BA #DD40D9 #E674E3 #EFA8EE

Accessibility & contrast

On white

3.61
#DD40D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#DD40D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40D9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40D9#FFFFFF#000000##000000
##DD40D91.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#E55689
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd40d9;
/* rgb */ color: rgb(221, 64, 217);
/* oklch */ color: oklch(65.5% 0.250 329.1);
Tailwind
colors: {
  custom: {
    50: '#ec83e5',
    500: '#dd40d9',
    950: '#000000',
  },
}
SCSS
$custom: #dd40d9;
$custom-light: #ec83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40d9",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 301.529,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.65485,
    "c": 0.25032,
    "h": 329.1
  },
  "luminance": 0.24049
}

Semantic roles & 50–950 ramp

primary
#DD40D9
secondary
#9CDD9E
accent
#ED403B
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DD40D9

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

Preview Lab → · Contrast checker → · Palette generator →

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