#DF4AFF#DF4AFF

#DF4AFF is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.8% C 0.270 H 319.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#DF4AFF
RGBrgb(223, 74, 255)
HSLhsl(289, 100%, 65%)
HSVhsv(289, 71%, 100%)
CMYKcmyk(12.5%, 71%, 0%, 0%)
CIE-LABlab(59.72, 79.75, -62.08)
CIE-LCHlch(59.72, 101.07, 322.10°)
OKLaboklab(68.78% 0.2066 -0.174)
OKLCHoklch(68.78% 0.27 319.9)
XYZxyz(50.9280, 27.8081, 97.2733)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4AFF #6AFF4A
analogous
#844AFF #DF4AFF #FF4AC5
triadic
#DF4AFF #FFDF4A #4AFFDF
tetradic
#DF4AFF #FF844A #6AFF4A #4AC5FF
square
#DF4AFF #FF844A #6AFF4A #4AC5FF
split-complementary
#DF4AFF #C5FF4A #4AFF84
monochromatic
#AA00CF #D40DFF #DF4AFF #EA87FF #F5C4FF

Accessibility & contrast

On white

3.20
#DF4AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#DF4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4AFF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4AFF#FFFFFF#000000##000000
##DF4AFF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#E06DA1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df4aff;
/* rgb */ color: rgb(223, 74, 255);
/* oklch */ color: oklch(68.8% 0.270 319.9);
Tailwind
colors: {
  custom: {
    50: '#ed89ff',
    500: '#df4aff',
    950: '#000000',
  },
}
SCSS
$custom: #df4aff;
$custom-light: #ed89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df4aff",
  "rgb": {
    "r": 223,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 289.392,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68776,
    "c": 0.27007,
    "h": 319.9
  },
  "luminance": 0.27806
}

Semantic roles & 50–950 ramp

primary
#DF4AFF
secondary
#BEF2B3
accent
#E60029
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DF4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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