#DE51E7#DE51E7

#DE51E7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.9% C 0.242 H 325.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#DE51E7
RGBrgb(222, 81, 231)
HSLhsl(296, 76%, 61%)
HSVhsv(296, 65%, 91%)
CMYKcmyk(3.9%, 64.9%, 0%, 9.4%)
CIE-LABlab(59.15, 72.85, -49.64)
CIE-LCHlch(59.15, 88.15, 325.73°)
OKLaboklab(67.91% 0.1991 -0.1378)
OKLCHoklch(67.91% 0.242 325.3)
XYZxyz(47.4894, 27.1869, 78.3321)
Luminance0.2718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51E7 #5AE751
analogous
#9351E7 #DE51E7 #E751A5
triadic
#DE51E7 #E7DE51 #51E7DE
tetradic
#DE51E7 #E79351 #5AE751 #51A5E7
square
#DE51E7 #E79351 #5AE751 #51A5E7
split-complementary
#DE51E7 #A5E751 #51E793
monochromatic
#9E17A7 #D11EDC #DE51E7 #E887EE #F2BDF6

Accessibility & contrast

On white

3.26
#DE51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#DE51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51E7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51E7#FFFFFF#000000##000000
##DE51E71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#6E94E3
Tritanopia (blue-blind)
#E36896
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #de51e7;
/* rgb */ color: rgb(222, 81, 231);
/* oklch */ color: oklch(67.9% 0.242 325.3);
Tailwind
colors: {
  custom: {
    50: '#ec8cef',
    500: '#de51e7',
    950: '#000000',
  },
}
SCSS
$custom: #de51e7;
$custom-light: #ec8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#de51e7",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 296.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67913,
    "c": 0.24215,
    "h": 325.3
  },
  "luminance": 0.27184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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