#DD51E1#DD51E1

#DD51E1 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.237 H 326.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#DD51E1
RGBrgb(221, 81, 225)
HSLhsl(298, 71%, 60%)
HSVhsv(298, 64%, 88%)
CMYKcmyk(1.8%, 64%, 0%, 11.8%)
CIE-LABlab(58.69, 71.61, -47.01)
CIE-LCHlch(58.69, 85.66, 326.72°)
OKLaboklab(67.46% 0.1979 -0.1301)
OKLCHoklch(67.46% 0.237 326.7)
XYZxyz(46.3510, 26.6962, 73.9311)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51E1 #55E151
analogous
#9551E1 #DD51E1 #E1519D
triadic
#DD51E1 #E1DD51 #51E1DD
tetradic
#DD51E1 #E19551 #55E151 #519DE1
square
#DD51E1 #E19551 #55E151 #519DE1
split-complementary
#DD51E1 #9DE151 #51E195
monochromatic
#991B9D #CC24D1 #DD51E1 #E785EA #F1B9F3

Accessibility & contrast

On white

3.31
#DD51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#DD51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51E1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51E1#FFFFFF#000000##000000
##DD51E11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E5
Deuteranopia (green-blind)
#7193DD
Tritanopia (blue-blind)
#E36592
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #dd51e1;
/* rgb */ color: rgb(221, 81, 225);
/* oklch */ color: oklch(67.5% 0.237 326.7);
Tailwind
colors: {
  custom: {
    50: '#eb8ceb',
    500: '#dd51e1',
    950: '#000000',
  },
}
SCSS
$custom: #dd51e1;
$custom-light: #eb8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51e1",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 298.333,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.67456,
    "c": 0.23684,
    "h": 326.7
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#DD51E1
secondary
#ADE3AB
accent
#ED3A3F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DD51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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