#DD38D3#DD38D3

#DD38D3 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.6% C 0.254 H 330.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DD38D3
RGBrgb(221, 56, 211)
HSLhsl(304, 71%, 54%)
HSVhsv(304, 75%, 87%)
CMYKcmyk(0%, 74.7%, 4.5%, 13.3%)
CIE-LABlab(54.98, 77.88, -44.96)
CIE-LCHlch(54.98, 89.92, 330.00°)
OKLaboklab(64.55% 0.2216 -0.124)
OKLCHoklch(64.55% 0.254 330.8)
XYZxyz(42.9908, 22.9071, 63.7727)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD38D3 #38DD42
analogous
#9438DD #DD38D3 #DD3881
triadic
#DD38D3 #D3DD38 #38D3DD
tetradic
#DD38D3 #DD9438 #38DD42 #3881DD
square
#DD38D3 #DD9438 #38DD42 #3881DD
split-complementary
#DD38D3 #81DD38 #38DD94
monochromatic
#84177D #B81FAF #DD38D3 #E66CDF #EFA1EA

Accessibility & contrast

On white

3.76
#DD38D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#DD38D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD38D3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD38D3#FFFFFF#000000##000000
##DD38D31.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D7
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#E64E83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd38d3;
/* rgb */ color: rgb(221, 56, 211);
/* oklch */ color: oklch(64.6% 0.254 330.8);
Tailwind
colors: {
  custom: {
    50: '#ec80e1',
    500: '#dd38d3',
    950: '#000000',
  },
}
SCSS
$custom: #dd38d3;
$custom-light: #ec80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd38d3",
  "rgb": {
    "r": 221,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 303.636,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.25399,
    "h": 330.8
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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