#DE51D3#DE51D3

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

Color values

HEX#DE51D3
RGBrgb(222, 81, 211)
HSLhsl(305, 68%, 59%)
HSVhsv(305, 64%, 87%)
CMYKcmyk(0%, 63.5%, 5%, 12.9%)
CIE-LABlab(58.15, 69.57, -39.94)
CIE-LCHlch(58.15, 80.22, 330.14°)
OKLaboklab(66.87% 0.1981 -0.1097)
OKLCHoklch(66.87% 0.226 331)
XYZxyz(44.8244, 26.1209, 64.2964)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51D3 #51DE5C
analogous
#A351DE #DE51D3 #DE518D
triadic
#DE51D3 #D3DE51 #51D3DE
tetradic
#DE51D3 #DEA351 #51DE5C #518DDE
square
#DE51D3 #DEA351 #51DE5C #518DDE
split-complementary
#DE51D3 #8DDE51 #51DEA3
monochromatic
#981D8E #CB27BE #DE51D3 #E884E0 #F2B8ED

Accessibility & contrast

On white

3.37
#DE51D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#DE51D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51D3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51D3#FFFFFF#000000##000000
##DE51D31.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD7
Deuteranopia (green-blind)
#7993CF
Tritanopia (blue-blind)
#E65F8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #de51d3;
/* rgb */ color: rgb(222, 81, 211);
/* oklch */ color: oklch(66.9% 0.226 331.0);
Tailwind
colors: {
  custom: {
    50: '#ec8be1',
    500: '#de51d3',
    950: '#000000',
  },
}
SCSS
$custom: #de51d3;
$custom-light: #ec8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#de51d3",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 304.681,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.22641,
    "h": 331
  },
  "luminance": 0.26118
}

Semantic roles & 50–950 ramp

primary
#DE51D3
secondary
#AAE1AE
accent
#EB4A3D
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DE51D3

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

Preview Lab → · Contrast checker → · Palette generator →

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