#DE51D2#DE51D2

#DE51D2 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.226 H 331.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#DE51D2
RGBrgb(222, 81, 210)
HSLhsl(305, 68%, 59%)
HSVhsv(305, 64%, 87%)
CMYKcmyk(0%, 63.5%, 5.4%, 12.9%)
CIE-LABlab(58.10, 69.41, -39.45)
CIE-LCHlch(58.10, 79.84, 330.39°)
OKLaboklab(66.82% 0.198 -0.1083)
OKLCHoklch(66.82% 0.226 331.3)
XYZxyz(44.6994, 26.0709, 63.6382)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51D2 #51DE5D
analogous
#A351DE #DE51D2 #DE518C
triadic
#DE51D2 #D2DE51 #51D2DE
tetradic
#DE51D2 #DEA351 #51DE5D #518CDE
square
#DE51D2 #DEA351 #51DE5D #518CDE
split-complementary
#DE51D2 #8CDE51 #51DEA3
monochromatic
#981D8D #CB27BD #DE51D2 #E884DF #F2B8ED

Accessibility & contrast

On white

3.38
#DE51D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#DE51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51D2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51D2#FFFFFF#000000##000000
##DE51D21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD6
Deuteranopia (green-blind)
#7993CE
Tritanopia (blue-blind)
#E75F8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #de51d2;
/* rgb */ color: rgb(222, 81, 210);
/* oklch */ color: oklch(66.8% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#ec8be0',
    500: '#de51d2',
    950: '#000000',
  },
}
SCSS
$custom: #de51d2;
$custom-light: #ec8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#de51d2",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 305.106,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.22565,
    "h": 331.3
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#DE51D2
secondary
#AAE1AF
accent
#EB4C3D
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DE51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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