#DF5AFF#DF5AFF

#DF5AFF is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.3% C 0.252 H 319.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#DF5AFF
RGBrgb(223, 90, 255)
HSLhsl(288, 100%, 68%)
HSVhsv(288, 65%, 100%)
CMYKcmyk(12.5%, 64.7%, 0%, 0%)
CIE-LABlab(61.85, 73.75, -58.67)
CIE-LCHlch(61.85, 94.24, 321.50°)
OKLaboklab(70.3% 0.1907 -0.1641)
OKLCHoklch(70.3% 0.252 319.3)
XYZxyz(52.1353, 30.2227, 97.6757)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5AFF #7AFF5A
analogous
#8D5AFF #DF5AFF #FF5ACC
triadic
#DF5AFF #FFDF5A #5AFFDF
tetradic
#DF5AFF #FF8D5A #7AFF5A #5ACCFF
square
#DF5AFF #FF8D5A #7AFF5A #5ACCFF
split-complementary
#DF5AFF #CCFF5A #5AFF8D
monochromatic
#B300DF #D31DFF #DF5AFF #EB97FF #F7D4FF

Accessibility & contrast

On white

2.98
#DF5AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#DF5AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5AFF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5AFF#FFFFFF#000000##000000
##DF5AFF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#218CFF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#DF77A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #df5aff;
/* rgb */ color: rgb(223, 90, 255);
/* oklch */ color: oklch(70.3% 0.252 319.3);
Tailwind
colors: {
  custom: {
    50: '#ed91ff',
    500: '#df5aff',
    950: '#000000',
  },
}
SCSS
$custom: #df5aff;
$custom-light: #ed91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df5aff",
  "rgb": {
    "r": 223,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 288.364,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70303,
    "c": 0.25156,
    "h": 319.3
  },
  "luminance": 0.3022
}

Semantic roles & 50–950 ramp

primary
#DF5AFF
secondary
#CBF4C1
accent
#E6002D
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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