#DE51CF#DE51CF

#DE51CF is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.223 H 332.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#DE51CF
RGBrgb(222, 81, 207)
HSLhsl(306, 68%, 59%)
HSVhsv(306, 64%, 87%)
CMYKcmyk(0%, 63.5%, 6.8%, 12.9%)
CIE-LABlab(57.96, 68.94, -37.97)
CIE-LCHlch(57.96, 78.71, 331.16°)
OKLaboklab(66.67% 0.1977 -0.104)
OKLCHoklch(66.67% 0.223 332.2)
XYZxyz(44.3291, 25.9228, 61.6882)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51CF #51DE60
analogous
#A751DE #DE51CF #DE5189
triadic
#DE51CF #CFDE51 #51CFDE
tetradic
#DE51CF #DEA751 #51DE60 #5189DE
square
#DE51CF #DEA751 #51DE60 #5189DE
split-complementary
#DE51CF #89DE51 #51DEA7
monochromatic
#981D8B #CB27BA #DE51CF #E884DD #F2B8EB

Accessibility & contrast

On white

3.40
#DE51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#DE51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51CF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51CF#FFFFFF#000000##000000
##DE51CF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED3
Deuteranopia (green-blind)
#7B92CB
Tritanopia (blue-blind)
#E75E89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #de51cf;
/* rgb */ color: rgb(222, 81, 207);
/* oklch */ color: oklch(66.7% 0.223 332.2);
Tailwind
colors: {
  custom: {
    50: '#ec8bde',
    500: '#de51cf',
    950: '#000000',
  },
}
SCSS
$custom: #de51cf;
$custom-light: #ec8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#de51cf",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 306.383,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66673,
    "c": 0.22338,
    "h": 332.2
  },
  "luminance": 0.25919
}

Semantic roles & 50–950 ramp

primary
#DE51CF
secondary
#AAE1B0
accent
#EB4F3D
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DE51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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