#DE51E3#DE51E3

#DE51E3 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.239 H 326.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#DE51E3
RGBrgb(222, 81, 227)
HSLhsl(298, 72%, 60%)
HSVhsv(298, 64%, 89%)
CMYKcmyk(2.2%, 64.3%, 0%, 11%)
CIE-LABlab(58.94, 72.17, -47.73)
CIE-LCHlch(58.94, 86.53, 326.52°)
OKLaboklab(67.7% 0.199 -0.1322)
OKLCHoklch(67.7% 0.239 326.4)
XYZxyz(46.9309, 26.9635, 75.3907)
Luminance0.2696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51E3 #56E351
analogous
#9551E3 #DE51E3 #E3519F
triadic
#DE51E3 #E3DE51 #51E3DE
tetradic
#DE51E3 #E39551 #56E351 #519FE3
square
#DE51E3 #E39551 #56E351 #519FE3
split-complementary
#DE51E3 #9FE351 #51E395
monochromatic
#9B1AA0 #CE22D5 #DE51E3 #E886EB #F2BAF4

Accessibility & contrast

On white

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

On black

6.39
#DE51E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51E3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51E3#FFFFFF#000000##000000
##DE51E31.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E7
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#E46693
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #de51e3;
/* rgb */ color: rgb(222, 81, 227);
/* oklch */ color: oklch(67.7% 0.239 326.4);
Tailwind
colors: {
  custom: {
    50: '#ec8cec',
    500: '#de51e3',
    950: '#000000',
  },
}
SCSS
$custom: #de51e3;
$custom-light: #ec8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#de51e3",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 297.945,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67698,
    "c": 0.23894,
    "h": 326.4
  },
  "luminance": 0.26961
}

Semantic roles & 50–950 ramp

primary
#DE51E3
secondary
#AEE4AC
accent
#D41118
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DE51E3

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

Preview Lab → · Contrast checker → · Palette generator →

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