#DE51D6#DE51D6

#DE51D6 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.229 H 330.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#DE51D6
RGBrgb(222, 81, 214)
HSLhsl(303, 68%, 59%)
HSVhsv(303, 64%, 87%)
CMYKcmyk(0%, 63.5%, 3.6%, 12.9%)
CIE-LABlab(58.30, 70.05, -41.42)
CIE-LCHlch(58.30, 81.38, 329.40°)
OKLaboklab(67.02% 0.1983 -0.114)
OKLCHoklch(67.02% 0.229 330.1)
XYZxyz(45.2039, 26.2727, 66.2956)
Luminance0.2627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51D6 #51DE59
analogous
#9F51DE #DE51D6 #DE5190
triadic
#DE51D6 #D6DE51 #51D6DE
tetradic
#DE51D6 #DE9F51 #51DE59 #5190DE
square
#DE51D6 #DE9F51 #51DE59 #5190DE
split-complementary
#DE51D6 #90DE51 #51DE9F
monochromatic
#981D91 #CB27C2 #DE51D6 #E884E2 #F2B8EE

Accessibility & contrast

On white

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

On black

6.25
#DE51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51D6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51D6#FFFFFF#000000##000000
##DE51D61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DA
Deuteranopia (green-blind)
#7793D2
Tritanopia (blue-blind)
#E6618D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #de51d6;
/* rgb */ color: rgb(222, 81, 214);
/* oklch */ color: oklch(67.0% 0.229 330.1);
Tailwind
colors: {
  custom: {
    50: '#ec8be3',
    500: '#de51d6',
    950: '#000000',
  },
}
SCSS
$custom: #de51d6;
$custom-light: #ec8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#de51d6",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 303.404,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.67021,
    "c": 0.22871,
    "h": 330.1
  },
  "luminance": 0.26269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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