#DE51D5#DE51D5

#DE51D5 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.228 H 330.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#DE51D5
RGBrgb(222, 81, 213)
HSLhsl(304, 68%, 59%)
HSVhsv(304, 64%, 87%)
CMYKcmyk(0%, 63.5%, 4.1%, 12.9%)
CIE-LABlab(58.25, 69.89, -40.93)
CIE-LCHlch(58.25, 80.99, 329.65°)
OKLaboklab(66.97% 0.1982 -0.1125)
OKLCHoklch(66.97% 0.228 330.4)
XYZxyz(45.0766, 26.2218, 65.6250)
Luminance0.2622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51D5 #51DE5A
analogous
#A151DE #DE51D5 #DE518F
triadic
#DE51D5 #D5DE51 #51D5DE
tetradic
#DE51D5 #DEA151 #51DE5A #518FDE
square
#DE51D5 #DEA151 #51DE5A #518FDE
split-complementary
#DE51D5 #8FDE51 #51DEA1
monochromatic
#981D90 #CB27C1 #DE51D5 #E884E1 #F2B8EE

Accessibility & contrast

On white

3.36
#DE51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#DE51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51D5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51D5#FFFFFF#000000##000000
##DE51D51.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680D9
Deuteranopia (green-blind)
#7893D1
Tritanopia (blue-blind)
#E6608C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #de51d5;
/* rgb */ color: rgb(222, 81, 213);
/* oklch */ color: oklch(67.0% 0.228 330.4);
Tailwind
colors: {
  custom: {
    50: '#ec8be2',
    500: '#de51d5',
    950: '#000000',
  },
}
SCSS
$custom: #de51d5;
$custom-light: #ec8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#de51d5",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 303.83,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66971,
    "c": 0.22794,
    "h": 330.4
  },
  "luminance": 0.26219
}

Semantic roles & 50–950 ramp

primary
#DE51D5
secondary
#AAE1AD
accent
#EB483D
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DE51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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