#DF54E7#DF54E7

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

Color values

HEX#DF54E7
RGBrgb(223, 84, 231)
HSLhsl(297, 75%, 62%)
HSVhsv(297, 64%, 91%)
CMYKcmyk(3.5%, 63.6%, 0%, 9.4%)
CIE-LABlab(59.71, 71.91, -48.74)
CIE-LCHlch(59.71, 86.87, 325.87°)
OKLaboklab(68.35% 0.197 -0.1352)
OKLCHoklch(68.35% 0.239 325.5)
XYZxyz(48.0245, 27.8011, 78.4224)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54E7 #5CE754
analogous
#9654E7 #DF54E7 #E754A5
triadic
#DF54E7 #E7DF54 #54E7DF
tetradic
#DF54E7 #E79654 #5CE754 #54A5E7
square
#DF54E7 #E79654 #5CE754 #54A5E7
split-complementary
#DF54E7 #A5E754 #54E796
monochromatic
#A118A9 #D41FDF #DF54E7 #E98AEF #F3BFF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF54E7#FFFFFF#000000##000000
##DF54E71.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)
#3A85EB
Deuteranopia (green-blind)
#7196E3
Tritanopia (blue-blind)
#E46997
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df54e7;
/* rgb */ color: rgb(223, 84, 231);
/* oklch */ color: oklch(68.3% 0.239 325.5);
Tailwind
colors: {
  custom: {
    50: '#ec8eef',
    500: '#df54e7',
    950: '#000000',
  },
}
SCSS
$custom: #df54e7;
$custom-light: #ec8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#df54e7",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 296.735,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68348,
    "c": 0.2389,
    "h": 325.5
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#DF54E7
secondary
#B3E7B0
accent
#D80E19
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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