#DD38D2#DD38D2

#DD38D2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.5% C 0.253 H 331.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DD38D2
RGBrgb(221, 56, 210)
HSLhsl(304, 71%, 54%)
HSVhsv(304, 75%, 87%)
CMYKcmyk(0%, 74.7%, 5%, 13.3%)
CIE-LABlab(54.92, 77.73, -44.47)
CIE-LCHlch(54.92, 89.55, 330.22°)
OKLaboklab(64.5% 0.2216 -0.1226)
OKLCHoklch(64.5% 0.253 331)
XYZxyz(42.8658, 22.8571, 63.1145)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD38D2 #38DD43
analogous
#9638DD #DD38D2 #DD3880
triadic
#DD38D2 #D2DD38 #38D2DD
tetradic
#DD38D2 #DD9638 #38DD43 #3880DD
square
#DD38D2 #DD9638 #38DD43 #3880DD
split-complementary
#DD38D2 #80DD38 #38DD96
monochromatic
#84177D #B81FAE #DD38D2 #E66CDE #EFA1EA

Accessibility & contrast

On white

3.77
#DD38D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DD38D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD38D2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD38D2#FFFFFF#000000##000000
##DD38D21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#6D8BCE
Tritanopia (blue-blind)
#E64E83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd38d2;
/* rgb */ color: rgb(221, 56, 210);
/* oklch */ color: oklch(64.5% 0.253 331.0);
Tailwind
colors: {
  custom: {
    50: '#ec80e0',
    500: '#dd38d2',
    950: '#000000',
  },
}
SCSS
$custom: #dd38d2;
$custom-light: #ec80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dd38d2",
  "rgb": {
    "r": 221,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 304,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64498,
    "c": 0.25328,
    "h": 331
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#DD38D2
secondary
#95DB9A
accent
#EE463A
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #DD38D2

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

Preview Lab → · Contrast checker → · Palette generator →

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