#DD51E2#DD51E2

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

Color values

HEX#DD51E2
RGBrgb(221, 81, 226)
HSLhsl(298, 71%, 60%)
HSVhsv(298, 64%, 89%)
CMYKcmyk(2.2%, 64.2%, 0%, 11.4%)
CIE-LABlab(58.74, 71.78, -47.49)
CIE-LCHlch(58.74, 86.06, 326.51°)
OKLaboklab(67.51% 0.1979 -0.1315)
OKLCHoklch(67.51% 0.238 326.4)
XYZxyz(46.4878, 26.7510, 74.6516)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51E2 #56E251
analogous
#9451E2 #DD51E2 #E2519E
triadic
#DD51E2 #E2DD51 #51E2DD
tetradic
#DD51E2 #E29451 #56E251 #519EE2
square
#DD51E2 #E29451 #56E251 #519EE2
split-complementary
#DD51E2 #9EE251 #51E294
monochromatic
#9A1A9E #CD23D3 #DD51E2 #E785EB #F2BAF3

Accessibility & contrast

On white

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

On black

6.35
#DD51E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51E2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51E2#FFFFFF#000000##000000
##DD51E21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#7093DE
Tritanopia (blue-blind)
#E36693
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #dd51e2;
/* rgb */ color: rgb(221, 81, 226);
/* oklch */ color: oklch(67.5% 0.238 326.4);
Tailwind
colors: {
  custom: {
    50: '#eb8ceb',
    500: '#dd51e2',
    950: '#000000',
  },
}
SCSS
$custom: #dd51e2;
$custom-light: #eb8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51e2",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 297.931,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67509,
    "c": 0.23764,
    "h": 326.4
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD51E2

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

Preview Lab → · Contrast checker → · Palette generator →

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