#DD51E5#DD51E5

#DD51E5 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.7% C 0.240 H 325.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#DD51E5
RGBrgb(221, 81, 229)
HSLhsl(297, 74%, 61%)
HSVhsv(297, 65%, 90%)
CMYKcmyk(3.5%, 64.6%, 0%, 10.2%)
CIE-LABlab(58.90, 72.28, -48.93)
CIE-LCHlch(58.90, 87.28, 325.91°)
OKLaboklab(67.67% 0.198 -0.1357)
OKLCHoklch(67.67% 0.24 325.6)
XYZxyz(46.9031, 26.9171, 76.8386)
Luminance0.2691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51E5 #59E551
analogous
#9351E5 #DD51E5 #E551A3
triadic
#DD51E5 #E5DD51 #51E5DD
tetradic
#DD51E5 #E59351 #59E551 #51A3E5
square
#DD51E5 #E59351 #59E551 #51A3E5
split-complementary
#DD51E5 #A3E551 #51E593
monochromatic
#9C18A3 #CF20D8 #DD51E5 #E786ED #F2BBF5

Accessibility & contrast

On white

3.29
#DD51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#DD51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51E5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51E5#FFFFFF#000000##000000
##DD51E51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583E9
Deuteranopia (green-blind)
#6F94E1
Tritanopia (blue-blind)
#E26795
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #dd51e5;
/* rgb */ color: rgb(221, 81, 229);
/* oklch */ color: oklch(67.7% 0.240 325.6);
Tailwind
colors: {
  custom: {
    50: '#eb8cee',
    500: '#dd51e5',
    950: '#000000',
  },
}
SCSS
$custom: #dd51e5;
$custom-light: #eb8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51e5",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 296.757,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.24007,
    "h": 325.6
  },
  "luminance": 0.26914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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