#DD52E4#DD52E4

#DD52E4 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.238 H 325.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DD52E4
RGBrgb(221, 82, 228)
HSLhsl(297, 73%, 61%)
HSVhsv(297, 64%, 89%)
CMYKcmyk(3.1%, 64%, 0%, 10.6%)
CIE-LABlab(58.98, 71.73, -48.23)
CIE-LCHlch(58.98, 86.43, 326.08°)
OKLaboklab(67.72% 0.1969 -0.1337)
OKLCHoklch(67.72% 0.238 325.8)
XYZxyz(46.8387, 27.0111, 76.1303)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD52E4 #59E452
analogous
#9452E4 #DD52E4 #E452A2
triadic
#DD52E4 #E4DD52 #52E4DD
tetradic
#DD52E4 #E49452 #59E452 #52A2E4
square
#DD52E4 #E49452 #59E452 #52A2E4
split-complementary
#DD52E4 #A2E452 #52E494
monochromatic
#9C19A2 #CF22D7 #DD52E4 #E787EC #F2BCF5

Accessibility & contrast

On white

3.28
#DD52E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DD52E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD52E4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD52E4#FFFFFF#000000##000000
##DD52E41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E8
Deuteranopia (green-blind)
#7094E0
Tritanopia (blue-blind)
#E26794
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #dd52e4;
/* rgb */ color: rgb(221, 82, 228);
/* oklch */ color: oklch(67.7% 0.238 325.8);
Tailwind
colors: {
  custom: {
    50: '#eb8ced',
    500: '#dd52e4',
    950: '#000000',
  },
}
SCSS
$custom: #dd52e4;
$custom-light: #eb8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#dd52e4",
  "rgb": {
    "r": 221,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 297.123,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67717,
    "c": 0.23801,
    "h": 325.8
  },
  "luminance": 0.27008
}

Semantic roles & 50–950 ramp

primary
#DD52E4
secondary
#B0E5AD
accent
#D5101A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DD52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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