#DF5FFF#DF5FFF

#DF5FFF is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.8% C 0.245 H 319.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#DF5FFF
RGBrgb(223, 95, 255)
HSLhsl(288, 100%, 69%)
HSVhsv(288, 63%, 100%)
CMYKcmyk(12.5%, 62.7%, 0%, 0%)
CIE-LABlab(62.59, 71.69, -57.49)
CIE-LCHlch(62.59, 91.89, 321.27°)
OKLaboklab(70.84% 0.1852 -0.1607)
OKLCHoklch(70.84% 0.245 319.1)
XYZxyz(52.5713, 31.0947, 97.8211)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5FFF #7FFF5F
analogous
#8F5FFF #DF5FFF #FF5FCF
triadic
#DF5FFF #FFDF5F #5FFFDF
tetradic
#DF5FFF #FF8F5F #7FFF5F #5FCFFF
square
#DF5FFF #FF8F5F #7FFF5F #5FCFFF
split-complementary
#DF5FFF #CFFF5F #5FFF8F
monochromatic
#B600E4 #D322FF #DF5FFF #EB9CFF #F7D9FF

Accessibility & contrast

On white

2.91
#DF5FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#DF5FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5FFF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5FFF#FFFFFF#000000##000000
##DF5FFF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8FFF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#DF7AA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #df5fff;
/* rgb */ color: rgb(223, 95, 255);
/* oklch */ color: oklch(70.8% 0.245 319.1);
Tailwind
colors: {
  custom: {
    50: '#ed94ff',
    500: '#df5fff',
    950: '#000000',
  },
}
SCSS
$custom: #df5fff;
$custom-light: #ed94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df5fff",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 288,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.24519,
    "h": 319.1
  },
  "luminance": 0.31092
}

Semantic roles & 50–950 ramp

primary
#DF5FFF
secondary
#CFF5C5
accent
#E6002E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF5FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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