#DF34E2#DF34E2

#DF34E2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 65.4% C 0.269 H 327.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#DF34E2
RGBrgb(223, 52, 226)
HSLhsl(299, 75%, 55%)
HSVhsv(299, 77%, 89%)
CMYKcmyk(1.3%, 77%, 0%, 11.4%)
CIE-LABlab(55.72, 81.66, -52.27)
CIE-LCHlch(55.72, 96.95, 327.38°)
OKLaboklab(65.41% 0.2266 -0.1452)
OKLCHoklch(65.41% 0.269 327.3)
XYZxyz(45.3862, 23.6383, 74.1089)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF34E2 #37E234
analogous
#8834E2 #DF34E2 #E2348E
triadic
#DF34E2 #E2DF34 #34E2DF
tetradic
#DF34E2 #E28834 #37E234 #348EE2
square
#DF34E2 #E28834 #37E234 #348EE2
split-complementary
#DF34E2 #8EE234 #34E288
monochromatic
#861388 #BB1BBE #DF34E2 #E76AEA #F09FF1

Accessibility & contrast

On white

3.67
#DF34E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#DF34E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF34E2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF34E2#FFFFFF#000000##000000
##DF34E21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#E6538B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df34e2;
/* rgb */ color: rgb(223, 52, 226);
/* oklch */ color: oklch(65.4% 0.269 327.3);
Tailwind
colors: {
  custom: {
    50: '#ed7fec',
    500: '#df34e2',
    950: '#000000',
  },
}
SCSS
$custom: #df34e2;
$custom-light: #ed7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#df34e2",
  "rgb": {
    "r": 223,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 298.966,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.65405,
    "c": 0.26908,
    "h": 327.3
  },
  "luminance": 0.23635
}

Semantic roles & 50–950 ramp

primary
#DF34E2
secondary
#95DE94
accent
#F23639
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF34E2

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

Preview Lab → · Contrast checker → · Palette generator →

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