#DD52E1#DD52E1

#DD52E1 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.6% C 0.236 H 326.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#DD52E1
RGBrgb(221, 82, 225)
HSLhsl(298, 70%, 60%)
HSVhsv(298, 64%, 88%)
CMYKcmyk(1.8%, 63.6%, 0%, 11.8%)
CIE-LABlab(58.83, 71.22, -46.79)
CIE-LCHlch(58.83, 85.21, 326.70°)
OKLaboklab(67.56% 0.1968 -0.1295)
OKLCHoklch(67.56% 0.236 326.7)
XYZxyz(46.4259, 26.8460, 73.9561)
Luminance0.2684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD52E1 #56E152
analogous
#9652E1 #DD52E1 #E1529D
triadic
#DD52E1 #E1DD52 #52E1DD
tetradic
#DD52E1 #E19652 #56E152 #529DE1
square
#DD52E1 #E19652 #56E152 #529DE1
split-complementary
#DD52E1 #9DE152 #52E196
monochromatic
#9A1B9D #CD24D1 #DD52E1 #E786EA #F2BAF3

Accessibility & contrast

On white

3.30
#DD52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#DD52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD52E1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD52E1#FFFFFF#000000##000000
##DD52E11.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C82E5
Deuteranopia (green-blind)
#7194DD
Tritanopia (blue-blind)
#E36693
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #dd52e1;
/* rgb */ color: rgb(221, 82, 225);
/* oklch */ color: oklch(67.6% 0.236 326.7);
Tailwind
colors: {
  custom: {
    50: '#eb8ceb',
    500: '#dd52e1',
    950: '#000000',
  },
}
SCSS
$custom: #dd52e1;
$custom-light: #eb8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd52e1",
  "rgb": {
    "r": 221,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 298.322,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67557,
    "c": 0.23558,
    "h": 326.7
  },
  "luminance": 0.26843
}

Semantic roles & 50–950 ramp

primary
#DD52E1
secondary
#AEE3AC
accent
#D21318
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DD52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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