#DF40E3#DF40E3

#DF40E3 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.3% C 0.259 H 326.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#DF40E3
RGBrgb(223, 64, 227)
HSLhsl(299, 74%, 57%)
HSVhsv(299, 72%, 89%)
CMYKcmyk(1.8%, 71.8%, 0%, 11%)
CIE-LABlab(56.98, 78.35, -50.83)
CIE-LCHlch(56.98, 93.40, 327.03°)
OKLaboklab(66.32% 0.2168 -0.1411)
OKLCHoklch(66.32% 0.259 326.9)
XYZxyz(46.1292, 24.9040, 75.0355)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF40E3 #44E340
analogous
#8E40E3 #DF40E3 #E34095
triadic
#DF40E3 #E3DF40 #40E3DF
tetradic
#DF40E3 #E38E40 #44E340 #4095E3
square
#DF40E3 #E38E40 #44E340 #4095E3
split-complementary
#DF40E3 #95E340 #40E38E
monochromatic
#901693 #C41DC8 #DF40E3 #E875EB #F1ABF3

Accessibility & contrast

On white

3.51
#DF40E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#DF40E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF40E3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF40E3#FFFFFF#000000##000000
##DF40E31.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#187CE7
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#E55A8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df40e3;
/* rgb */ color: rgb(223, 64, 227);
/* oklch */ color: oklch(66.3% 0.259 326.9);
Tailwind
colors: {
  custom: {
    50: '#ed84ec',
    500: '#df40e3',
    950: '#000000',
  },
}
SCSS
$custom: #df40e3;
$custom-light: #ed84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#df40e3",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 298.528,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6632,
    "c": 0.25866,
    "h": 326.9
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#DF40E3
secondary
#A0E19E
accent
#F1373B
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF40E3

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

Preview Lab → · Contrast checker → · Palette generator →

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