#DF5DF7#DF5DF7

#DF5DF7 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.2% C 0.241 H 321.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#DF5DF7
RGBrgb(223, 93, 247)
HSLhsl(291, 91%, 67%)
HSVhsv(291, 62%, 97%)
CMYKcmyk(9.7%, 62.3%, 0%, 3.1%)
CIE-LABlab(61.86, 71.06, -54.24)
CIE-LCHlch(61.86, 89.40, 322.65°)
OKLaboklab(70.17% 0.1874 -0.1512)
OKLCHoklch(70.17% 0.241 321.1)
XYZxyz(51.1324, 30.2346, 91.1202)
Luminance0.3023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5DF7 #75F75D
analogous
#925DF7 #DF5DF7 #F75DC2
triadic
#DF5DF7 #F7DF5D #5DF7DF
tetradic
#DF5DF7 #F7925D #75F75D #5DC2F7
square
#DF5DF7 #F7925D #75F75D #5DC2F7
split-complementary
#DF5DF7 #C2F75D #5DF792
monochromatic
#B10ACF #D323F4 #DF5DF7 #EB97FA #F6D2FD

Accessibility & contrast

On white

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

On black

7.05
#DF5DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5DF7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5DF7#FFFFFF#000000##000000
##DF5DF71.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#E176A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #df5df7;
/* rgb */ color: rgb(223, 93, 247);
/* oklch */ color: oklch(70.2% 0.241 321.1);
Tailwind
colors: {
  custom: {
    50: '#ec93fa',
    500: '#df5df7',
    950: '#000000',
  },
}
SCSS
$custom: #df5df7;
$custom-light: #ec93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df5df7",
  "rgb": {
    "r": 223,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 290.649,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7017,
    "c": 0.24078,
    "h": 321.1
  },
  "luminance": 0.30232
}

Semantic roles & 50–950 ramp

primary
#DF5DF7
secondary
#C7F1BF
accent
#E60024
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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