#DD38D1#DD38D1

#DD38D1 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.4% C 0.253 H 331.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DD38D1
RGBrgb(221, 56, 209)
HSLhsl(304, 71%, 54%)
HSVhsv(304, 75%, 87%)
CMYKcmyk(0%, 74.7%, 5.4%, 13.3%)
CIE-LABlab(54.87, 77.58, -43.98)
CIE-LCHlch(54.87, 89.18, 330.45°)
OKLaboklab(64.44% 0.2216 -0.1212)
OKLCHoklch(64.44% 0.253 331.3)
XYZxyz(42.7416, 22.8074, 62.4604)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD38D1 #38DD44
analogous
#9738DD #DD38D1 #DD387E
triadic
#DD38D1 #D1DD38 #38D1DD
tetradic
#DD38D1 #DD9738 #38DD44 #387EDD
square
#DD38D1 #DD9738 #38DD44 #387EDD
split-complementary
#DD38D1 #7EDD38 #38DD97
monochromatic
#84177C #B81FAD #DD38D1 #E66CDD #EFA1E9

Accessibility & contrast

On white

3.78
#DD38D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DD38D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD38D1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD38D1#FFFFFF#000000##000000
##DD38D11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D5
Deuteranopia (green-blind)
#6D8BCD
Tritanopia (blue-blind)
#E64D82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd38d1;
/* rgb */ color: rgb(221, 56, 209);
/* oklch */ color: oklch(64.4% 0.253 331.3);
Tailwind
colors: {
  custom: {
    50: '#ec80df',
    500: '#dd38d1',
    950: '#000000',
  },
}
SCSS
$custom: #dd38d1;
$custom-light: #ec80df;
$custom-dark: #000000;
JSON
{
  "hex": "#dd38d1",
  "rgb": {
    "r": 221,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 304.364,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.25258,
    "h": 331.3
  },
  "luminance": 0.22804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD38D1

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

Preview Lab → · Contrast checker → · Palette generator →

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