#DF5DF8#DF5DF8

#DF5DF8 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.2% C 0.242 H 320.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#DF5DF8
RGBrgb(223, 93, 248)
HSLhsl(290, 92%, 67%)
HSVhsv(290, 63%, 97%)
CMYKcmyk(10.1%, 62.5%, 0%, 2.7%)
CIE-LABlab(61.91, 71.25, -54.71)
CIE-LCHlch(61.91, 89.83, 322.48°)
OKLaboklab(70.23% 0.1874 -0.1526)
OKLCHoklch(70.23% 0.242 320.9)
XYZxyz(51.2871, 30.2965, 91.9351)
Luminance0.3029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5DF8 #76F85D
analogous
#925DF8 #DF5DF8 #F85DC3
triadic
#DF5DF8 #F8DF5D #5DF8DF
tetradic
#DF5DF8 #F8925D #76F85D #5DC3F8
square
#DF5DF8 #F8925D #76F85D #5DC3F8
split-complementary
#DF5DF8 #C3F85D #5DF892
monochromatic
#B109D2 #D322F5 #DF5DF8 #EB98FB #F6D2FD

Accessibility & contrast

On white

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

On black

7.06
#DF5DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5DF8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5DF8#FFFFFF#000000##000000
##DF5DF81.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFD
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#E176A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #df5df8;
/* rgb */ color: rgb(223, 93, 248);
/* oklch */ color: oklch(70.2% 0.242 320.9);
Tailwind
colors: {
  custom: {
    50: '#ec93fb',
    500: '#df5df8',
    950: '#000000',
  },
}
SCSS
$custom: #df5df8;
$custom-light: #ec93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df5df8",
  "rgb": {
    "r": 223,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 290.323,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70226,
    "c": 0.24165,
    "h": 320.9
  },
  "luminance": 0.30294
}

Semantic roles & 50–950 ramp

primary
#DF5DF8
secondary
#C8F1C0
accent
#E60025
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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