#DD38CD#DD38CD

#DD38CD is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.2% C 0.250 H 332.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#DD38CD
RGBrgb(221, 56, 205)
HSLhsl(306, 71%, 54%)
HSVhsv(306, 75%, 87%)
CMYKcmyk(0%, 74.7%, 7.2%, 13.3%)
CIE-LABlab(54.67, 76.99, -42.02)
CIE-LCHlch(54.67, 87.71, 331.37°)
OKLaboklab(64.23% 0.2215 -0.1155)
OKLCHoklch(64.23% 0.25 332.5)
XYZxyz(42.2526, 22.6118, 59.8850)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD38CD #38DD48
analogous
#9B38DD #DD38CD #DD387B
triadic
#DD38CD #CDDD38 #38CDDD
tetradic
#DD38CD #DD9B38 #38DD48 #387BDD
square
#DD38CD #DD9B38 #38DD48 #387BDD
split-complementary
#DD38CD #7BDD38 #38DD9B
monochromatic
#841779 #B81FA9 #DD38CD #E66CDA #EFA1E7

Accessibility & contrast

On white

3.80
#DD38CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#DD38CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD38CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD38CD#FFFFFF#000000##000000
##DD38CD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#E74B80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd38cd;
/* rgb */ color: rgb(221, 56, 205);
/* oklch */ color: oklch(64.2% 0.250 332.5);
Tailwind
colors: {
  custom: {
    50: '#ec80dd',
    500: '#dd38cd',
    950: '#000000',
  },
}
SCSS
$custom: #dd38cd;
$custom-light: #ec80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd38cd",
  "rgb": {
    "r": 221,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 305.818,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.2498,
    "h": 332.5
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#DD38CD
secondary
#95DB9C
accent
#EE4C3A
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #DD38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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