#DF4FE2#DF4FE2

#DF4FE2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.6% C 0.241 H 327.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#DF4FE2
RGBrgb(223, 79, 226)
HSLhsl(299, 72%, 60%)
HSVhsv(299, 65%, 89%)
CMYKcmyk(1.3%, 65%, 0%, 11.4%)
CIE-LABlab(58.76, 73.00, -47.44)
CIE-LCHlch(58.76, 87.06, 326.98°)
OKLaboklab(67.58% 0.2022 -0.1313)
OKLCHoklch(67.58% 0.241 327)
XYZxyz(46.9541, 26.7740, 74.6316)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4FE2 #52E24F
analogous
#964FE2 #DF4FE2 #E24F9B
triadic
#DF4FE2 #E2DF4F #4FE2DF
tetradic
#DF4FE2 #E2964F #52E24F #4F9BE2
square
#DF4FE2 #E2964F #52E24F #4F9BE2
split-complementary
#DF4FE2 #9BE24F #4FE296
monochromatic
#9A1A9D #CE22D1 #DF4FE2 #E984EB #F2B8F3

Accessibility & contrast

On white

3.30
#DF4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#DF4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4FE2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4FE2#FFFFFF#000000##000000
##DF4FE21.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E6
Deuteranopia (green-blind)
#7194DE
Tritanopia (blue-blind)
#E56492
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df4fe2;
/* rgb */ color: rgb(223, 79, 226);
/* oklch */ color: oklch(67.6% 0.241 327.0);
Tailwind
colors: {
  custom: {
    50: '#ed8beb',
    500: '#df4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #df4fe2;
$custom-light: #ed8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#df4fe2",
  "rgb": {
    "r": 223,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 298.776,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.2411,
    "h": 327
  },
  "luminance": 0.26771
}

Semantic roles & 50–950 ramp

primary
#DF4FE2
secondary
#ABE3AA
accent
#EE393D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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