#DE51D1#DE51D1

#DE51D1 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.225 H 331.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#DE51D1
RGBrgb(222, 81, 209)
HSLhsl(306, 68%, 59%)
HSVhsv(306, 64%, 87%)
CMYKcmyk(0%, 63.5%, 5.9%, 12.9%)
CIE-LABlab(58.06, 69.26, -38.96)
CIE-LCHlch(58.06, 79.46, 330.64°)
OKLaboklab(66.77% 0.1979 -0.1069)
OKLCHoklch(66.77% 0.225 331.6)
XYZxyz(44.5752, 26.0212, 62.9841)
Luminance0.2602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51D1 #51DE5E
analogous
#A551DE #DE51D1 #DE518B
triadic
#DE51D1 #D1DE51 #51D1DE
tetradic
#DE51D1 #DEA551 #51DE5E #518BDE
square
#DE51D1 #DEA551 #51DE5E #518BDE
split-complementary
#DE51D1 #8BDE51 #51DEA5
monochromatic
#981D8C #CB27BC #DE51D1 #E884DF #F2B8EC

Accessibility & contrast

On white

3.39
#DE51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#DE51D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51D1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51D1#FFFFFF#000000##000000
##DE51D11.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD5
Deuteranopia (green-blind)
#7A93CD
Tritanopia (blue-blind)
#E75F8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #de51d1;
/* rgb */ color: rgb(222, 81, 209);
/* oklch */ color: oklch(66.8% 0.225 331.6);
Tailwind
colors: {
  custom: {
    50: '#ec8bdf',
    500: '#de51d1',
    950: '#000000',
  },
}
SCSS
$custom: #de51d1;
$custom-light: #ec8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#de51d1",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 305.532,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.22489,
    "h": 331.6
  },
  "luminance": 0.26018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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