#DF5CFE#DF5CFE

#DF5CFE is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.5% C 0.248 H 319.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#DF5CFE
RGBrgb(223, 92, 254)
HSLhsl(289, 99%, 68%)
HSVhsv(289, 64%, 100%)
CMYKcmyk(12.2%, 63.8%, 0%, 0.4%)
CIE-LABlab(62.08, 72.75, -57.74)
CIE-LCHlch(62.08, 92.88, 321.56°)
OKLaboklab(70.46% 0.1885 -0.1614)
OKLCHoklch(70.46% 0.248 319.4)
XYZxyz(52.1457, 30.5004, 96.8871)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5CFE #7BFE5C
analogous
#8E5CFE #DF5CFE #FE5CCC
triadic
#DF5CFE #FEDF5C #5CFEDF
tetradic
#DF5CFE #FE8E5C #7BFE5C #5CCCFE
square
#DF5CFE #FE8E5C #7BFE5C #5CCCFE
split-complementary
#DF5CFE #CCFE5C #5CFE8E
monochromatic
#B401DE #D31FFE #DF5CFE #EB99FE #F7D6FF

Accessibility & contrast

On white

2.96
#DF5CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#DF5CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5CFE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5CFE#FFFFFF#000000##000000
##DF5CFE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#298DFF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#DF78A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #df5cfe;
/* rgb */ color: rgb(223, 92, 254);
/* oklch */ color: oklch(70.5% 0.248 319.4);
Tailwind
colors: {
  custom: {
    50: '#ed92ff',
    500: '#df5cfe',
    950: '#000000',
  },
}
SCSS
$custom: #df5cfe;
$custom-light: #ed92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df5cfe",
  "rgb": {
    "r": 223,
    "g": 92,
    "b": 254
  },
  "hsl": {
    "h": 288.519,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70456,
    "c": 0.24817,
    "h": 319.4
  },
  "luminance": 0.30498
}

Semantic roles & 50–950 ramp

primary
#DF5CFE
secondary
#CBF4C2
accent
#E6002C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF5CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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