#DE51CB#DE51CB

#DE51CB is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.220 H 333.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#DE51CB
RGBrgb(222, 81, 203)
HSLhsl(308, 68%, 59%)
HSVhsv(308, 64%, 87%)
CMYKcmyk(0%, 63.5%, 8.6%, 12.9%)
CIE-LABlab(57.78, 68.32, -35.98)
CIE-LCHlch(57.78, 77.22, 332.23°)
OKLaboklab(66.48% 0.1972 -0.0983)
OKLCHoklch(66.48% 0.22 333.5)
XYZxyz(43.8463, 25.7297, 59.1453)
Luminance0.2573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51CB #51DE64
analogous
#AB51DE #DE51CB #DE5185
triadic
#DE51CB #CBDE51 #51CBDE
tetradic
#DE51CB #DEAB51 #51DE64 #5185DE
square
#DE51CB #DEAB51 #51DE64 #5185DE
split-complementary
#DE51CB #85DE51 #51DEAB
monochromatic
#981D87 #CB27B5 #DE51CB #E884DA #F2B8EA

Accessibility & contrast

On white

3.42
#DE51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#DE51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51CB#FFFFFF#000000##000000
##DE51CB1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#E85C87
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #de51cb;
/* rgb */ color: rgb(222, 81, 203);
/* oklch */ color: oklch(66.5% 0.220 333.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bdb',
    500: '#de51cb',
    950: '#000000',
  },
}
SCSS
$custom: #de51cb;
$custom-light: #ec8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#de51cb",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 308.085,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66479,
    "c": 0.22039,
    "h": 333.5
  },
  "luminance": 0.25726
}

Semantic roles & 50–950 ramp

primary
#DE51CB
secondary
#AAE1B1
accent
#EB543D
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DE51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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