#DD40C7#DD40C7

#DD40C7 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.237 H 334.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DD40C7
RGBrgb(221, 64, 199)
HSLhsl(308, 70%, 56%)
HSVhsv(308, 71%, 87%)
CMYKcmyk(0%, 71%, 10%, 13.3%)
CIE-LABlab(55.24, 73.64, -37.68)
CIE-LCHlch(55.24, 82.72, 332.90°)
OKLaboklab(64.55% 0.2139 -0.1031)
OKLCHoklch(64.55% 0.237 334.3)
XYZxyz(41.9614, 23.1661, 56.2833)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C7 #40DD56
analogous
#A540DD #DD40C7 #DD4078
triadic
#DD40C7 #C7DD40 #40C7DD
tetradic
#DD40C7 #DDA540 #40DD56 #4078DD
square
#DD40C7 #DDA540 #40DD56 #4078DD
split-complementary
#DD40C7 #78DD40 #40DDA5
monochromatic
#8A197A #BE22A8 #DD40C7 #E674D6 #EFA8E5

Accessibility & contrast

On white

3.73
#DD40C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DD40C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C7#FFFFFF#000000##000000
##DD40C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#E74E7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd40c7;
/* rgb */ color: rgb(221, 64, 199);
/* oklch */ color: oklch(64.5% 0.237 334.3);
Tailwind
colors: {
  custom: {
    50: '#ec83d8',
    500: '#dd40c7',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c7;
$custom-light: #ec83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c7",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 308.408,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6455,
    "c": 0.23744,
    "h": 334.3
  },
  "luminance": 0.23162
}

Semantic roles & 50–950 ramp

primary
#DD40C7
secondary
#9CDDA5
accent
#ED543B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD40C7

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

Preview Lab → · Contrast checker → · Palette generator →

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