#DF5DFF#DF5DFF

#DF5DFF is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.6% C 0.248 H 319.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#DF5DFF
RGBrgb(223, 93, 255)
HSLhsl(288, 100%, 68%)
HSVhsv(288, 64%, 100%)
CMYKcmyk(12.5%, 63.5%, 0%, 0%)
CIE-LABlab(62.29, 72.52, -57.97)
CIE-LCHlch(62.29, 92.84, 321.37°)
OKLaboklab(70.62% 0.1874 -0.1621)
OKLCHoklch(70.62% 0.248 319.1)
XYZxyz(52.3934, 30.7390, 97.7618)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5DFF #7DFF5D
analogous
#8E5DFF #DF5DFF #FF5DCE
triadic
#DF5DFF #FFDF5D #5DFFDF
tetradic
#DF5DFF #FF8E5D #7DFF5D #5DCEFF
square
#DF5DFF #FF8E5D #7DFF5D #5DCEFF
split-complementary
#DF5DFF #CEFF5D #5DFF8E
monochromatic
#B500E2 #D320FF #DF5DFF #EB9AFF #F7D7FF

Accessibility & contrast

On white

2.94
#DF5DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#DF5DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5DFF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5DFF#FFFFFF#000000##000000
##DF5DFF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8EFF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#DF79A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #df5dff;
/* rgb */ color: rgb(223, 93, 255);
/* oklch */ color: oklch(70.6% 0.248 319.1);
Tailwind
colors: {
  custom: {
    50: '#ed93ff',
    500: '#df5dff',
    950: '#000000',
  },
}
SCSS
$custom: #df5dff;
$custom-light: #ed93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df5dff",
  "rgb": {
    "r": 223,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 288.148,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7062,
    "c": 0.24777,
    "h": 319.1
  },
  "luminance": 0.30737
}

Semantic roles & 50–950 ramp

primary
#DF5DFF
secondary
#CDF4C3
accent
#E6002D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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