#DE40C5#DE40C5

#DE40C5 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.6% C 0.237 H 335.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#DE40C5
RGBrgb(222, 64, 197)
HSLhsl(309, 71%, 56%)
HSVhsv(309, 71%, 87%)
CMYKcmyk(0%, 71.2%, 11.3%, 12.9%)
CIE-LABlab(55.31, 73.58, -36.41)
CIE-LCHlch(55.31, 82.09, 333.67°)
OKLaboklab(64.6% 0.2147 -0.0994)
OKLCHoklch(64.6% 0.237 335.2)
XYZxyz(42.0361, 23.2313, 55.0827)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE40C5 #40DE59
analogous
#A840DE #DE40C5 #DE4076
triadic
#DE40C5 #C5DE40 #40C5DE
tetradic
#DE40C5 #DEA840 #40DE59 #4076DE
square
#DE40C5 #DEA840 #40DE59 #4076DE
split-complementary
#DE40C5 #76DE40 #40DEA8
monochromatic
#8B1879 #C021A7 #DE40C5 #E774D5 #F0A8E5

Accessibility & contrast

On white

3.72
#DE40C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#DE40C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE40C5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE40C5#FFFFFF#000000##000000
##DE40C51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C9
Deuteranopia (green-blind)
#778DC1
Tritanopia (blue-blind)
#E94C7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #de40c5;
/* rgb */ color: rgb(222, 64, 197);
/* oklch */ color: oklch(64.6% 0.237 335.2);
Tailwind
colors: {
  custom: {
    50: '#ec83d7',
    500: '#de40c5',
    950: '#000000',
  },
}
SCSS
$custom: #de40c5;
$custom-light: #ec83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#de40c5",
  "rgb": {
    "r": 222,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 309.494,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64598,
    "c": 0.23661,
    "h": 335.2
  },
  "luminance": 0.23228
}

Semantic roles & 50–950 ramp

primary
#DE40C5
secondary
#9CDEA7
accent
#ED573A
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DE40C5

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

Preview Lab → · Contrast checker → · Palette generator →

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