#DF56FF#DF56FF

#DF56FF is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.9% C 0.256 H 319.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#DF56FF
RGBrgb(223, 86, 255)
HSLhsl(289, 100%, 67%)
HSVhsv(289, 66%, 100%)
CMYKcmyk(12.5%, 66.3%, 0%, 0%)
CIE-LABlab(61.28, 75.34, -59.58)
CIE-LCHlch(61.28, 96.05, 321.66°)
OKLaboklab(69.89% 0.1949 -0.1667)
OKLCHoklch(69.89% 0.256 319.4)
XYZxyz(51.8069, 29.5660, 97.5663)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56FF #76FF56
analogous
#8B56FF #DF56FF #FF56CB
triadic
#DF56FF #FFDF56 #56FFDF
tetradic
#DF56FF #FF8B56 #76FF56 #56CBFF
square
#DF56FF #FF8B56 #76FF56 #56CBFF
split-complementary
#DF56FF #CBFF56 #56FF8B
monochromatic
#B100DB #D319FF #DF56FF #EB93FF #F6D0FF

Accessibility & contrast

On white

3.04
#DF56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#DF56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56FF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56FF#FFFFFF#000000##000000
##DF56FF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#118BFF
Deuteranopia (green-blind)
#6299FB
Tritanopia (blue-blind)
#DF75A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #df56ff;
/* rgb */ color: rgb(223, 86, 255);
/* oklch */ color: oklch(69.9% 0.256 319.4);
Tailwind
colors: {
  custom: {
    50: '#ed8fff',
    500: '#df56ff',
    950: '#000000',
  },
}
SCSS
$custom: #df56ff;
$custom-light: #ed8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#df56ff",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 288.639,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69894,
    "c": 0.25647,
    "h": 319.4
  },
  "luminance": 0.29564
}

Semantic roles & 50–950 ramp

primary
#DF56FF
secondary
#C8F3BD
accent
#E6002B
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DF56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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