#DD38C2#DD38C2

#DD38C2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.7% C 0.242 H 335.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#DD38C2
RGBrgb(221, 56, 194)
HSLhsl(310, 71%, 54%)
HSVhsv(310, 75%, 87%)
CMYKcmyk(0%, 74.7%, 12.2%, 13.3%)
CIE-LABlab(54.13, 75.41, -36.54)
CIE-LCHlch(54.13, 83.80, 334.14°)
OKLaboklab(63.67% 0.2209 -0.0998)
OKLCHoklch(63.67% 0.242 335.7)
XYZxyz(40.9712, 22.0993, 53.1363)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD38C2 #38DD53
analogous
#A538DD #DD38C2 #DD3870
triadic
#DD38C2 #C2DD38 #38C2DD
tetradic
#DD38C2 #DDA538 #38DD53 #3870DD
square
#DD38C2 #DDA538 #38DD53 #3870DD
split-complementary
#DD38C2 #70DD38 #38DDA5
monochromatic
#841772 #B81F9F #DD38C2 #E66CD2 #EFA1E2

Accessibility & contrast

On white

3.88
#DD38C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#DD38C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD38C2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD38C2#FFFFFF#000000##000000
##DD38C21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C6
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#E8457A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #dd38c2;
/* rgb */ color: rgb(221, 56, 194);
/* oklch */ color: oklch(63.7% 0.242 335.7);
Tailwind
colors: {
  custom: {
    50: '#ec7fd5',
    500: '#dd38c2',
    950: '#000000',
  },
}
SCSS
$custom: #dd38c2;
$custom-light: #ec7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#dd38c2",
  "rgb": {
    "r": 221,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 309.818,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63672,
    "c": 0.24234,
    "h": 335.7
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#DD38C2
secondary
#95DBA1
accent
#EE583A
background
#FFF8FD
surface
#FEEFFA
border
#D6CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DD38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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