#DD51E7#DD51E7

#DD51E7 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.8% C 0.242 H 325.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#DD51E7
RGBrgb(221, 81, 231)
HSLhsl(296, 76%, 61%)
HSVhsv(296, 65%, 91%)
CMYKcmyk(4.3%, 64.9%, 0%, 9.4%)
CIE-LABlab(59.00, 72.62, -49.88)
CIE-LCHlch(59.00, 88.10, 325.51°)
OKLaboklab(67.78% 0.1981 -0.1385)
OKLCHoklch(67.78% 0.242 325)
XYZxyz(47.1839, 27.0294, 78.3178)
Luminance0.2703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51E7 #5BE751
analogous
#9251E7 #DD51E7 #E751A6
triadic
#DD51E7 #E7DD51 #51E7DD
tetradic
#DD51E7 #E79251 #5BE751 #51A6E7
square
#DD51E7 #E79251 #5BE751 #51A6E7
split-complementary
#DD51E7 #A6E751 #51E792
monochromatic
#9D17A7 #D01EDC #DD51E7 #E887EE #F2BDF6

Accessibility & contrast

On white

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

On black

6.41
#DD51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51E7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51E7#FFFFFF#000000##000000
##DD51E71.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#6D94E3
Tritanopia (blue-blind)
#E26896
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #dd51e7;
/* rgb */ color: rgb(221, 81, 231);
/* oklch */ color: oklch(67.8% 0.242 325.0);
Tailwind
colors: {
  custom: {
    50: '#eb8cef',
    500: '#dd51e7',
    950: '#000000',
  },
}
SCSS
$custom: #dd51e7;
$custom-light: #eb8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51e7",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 296,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67779,
    "c": 0.24168,
    "h": 325
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#DD51E7
secondary
#B1E6AE
accent
#D80E1B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DD51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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