#DD40D4#DD40D4

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

Color values

HEX#DD40D4
RGBrgb(221, 64, 212)
HSLhsl(303, 70%, 56%)
HSVhsv(303, 71%, 87%)
CMYKcmyk(0%, 71%, 4.1%, 13.3%)
CIE-LABlab(55.88, 75.58, -44.10)
CIE-LCHlch(55.88, 87.51, 329.74°)
OKLaboklab(65.22% 0.2146 -0.1216)
OKLCHoklch(65.22% 0.247 330.5)
XYZxyz(43.5357, 23.7958, 64.5747)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40D4 #40DD49
analogous
#9740DD #DD40D4 #DD4086
triadic
#DD40D4 #D4DD40 #40D4DD
tetradic
#DD40D4 #DD9740 #40DD49 #4086DD
square
#DD40D4 #DD9740 #40DD49 #4086DD
split-complementary
#DD40D4 #86DD40 #40DD97
monochromatic
#8A1984 #BE22B5 #DD40D4 #E674E0 #EFA8EB

Accessibility & contrast

On white

3.65
#DD40D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#DD40D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40D4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40D4#FFFFFF#000000##000000
##DD40D41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D8
Deuteranopia (green-blind)
#6F8DD0
Tritanopia (blue-blind)
#E55486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd40d4;
/* rgb */ color: rgb(221, 64, 212);
/* oklch */ color: oklch(65.2% 0.247 330.5);
Tailwind
colors: {
  custom: {
    50: '#ec83e2',
    500: '#dd40d4',
    950: '#000000',
  },
}
SCSS
$custom: #dd40d4;
$custom-light: #ec83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40d4",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 303.439,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.24667,
    "h": 330.5
  },
  "luminance": 0.23792
}

Semantic roles & 50–950 ramp

primary
#DD40D4
secondary
#9CDDA0
accent
#ED453B
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DD40D4

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

Preview Lab → · Contrast checker → · Palette generator →

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