#DF2DE2#DF2DE2

#DF2DE2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 65.0% C 0.275 H 327.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#DF2DE2
RGBrgb(223, 45, 226)
HSLhsl(299, 76%, 53%)
HSVhsv(299, 80%, 89%)
CMYKcmyk(1.3%, 80.1%, 0%, 11.4%)
CIE-LABlab(55.13, 83.37, -53.21)
CIE-LCHlch(55.13, 98.90, 327.45°)
OKLaboklab(64.99% 0.2314 -0.1479)
OKLCHoklch(64.99% 0.275 327.4)
XYZxyz(45.0966, 23.0591, 74.0124)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2DE2 #30E22D
analogous
#852DE2 #DF2DE2 #E22D8A
triadic
#DF2DE2 #E2DF2D #2DE2DF
tetradic
#DF2DE2 #E2852D #30E22D #2D8AE2
square
#DF2DE2 #E2852D #30E22D #2D8AE2
split-complementary
#DF2DE2 #8AE22D #2DE285
monochromatic
#811283 #B619B8 #DF2DE2 #E763E9 #EF99F1

Accessibility & contrast

On white

3.74
#DF2DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#DF2DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2DE2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2DE2#FFFFFF#000000##000000
##DF2DE21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#618CDE
Tritanopia (blue-blind)
#E64F8A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df2de2;
/* rgb */ color: rgb(223, 45, 226);
/* oklch */ color: oklch(65.0% 0.275 327.4);
Tailwind
colors: {
  custom: {
    50: '#ee7dec',
    500: '#df2de2',
    950: '#000000',
  },
}
SCSS
$custom: #df2de2;
$custom-light: #ee7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#df2de2",
  "rgb": {
    "r": 223,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 299.006,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.27459,
    "h": 327.4
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#DF2DE2
secondary
#90DC8E
accent
#F23539
background
#FFF8FE
surface
#FFEFFD
border
#D7CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #DF2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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