#DF5DF2#DF5DF2

#DF5DF2 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.9% C 0.236 H 322.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#DF5DF2
RGBrgb(223, 93, 242)
HSLhsl(292, 85%, 66%)
HSVhsv(292, 62%, 95%)
CMYKcmyk(7.9%, 61.6%, 0%, 5.1%)
CIE-LABlab(61.59, 70.17, -51.88)
CIE-LCHlch(61.59, 87.27, 323.52°)
OKLaboklab(69.9% 0.1873 -0.1443)
OKLCHoklch(69.9% 0.236 322.4)
XYZxyz(50.3711, 29.9301, 87.1111)
Luminance0.2993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5DF2 #70F25D
analogous
#945DF2 #DF5DF2 #F25DBA
triadic
#DF5DF2 #F2DF5D #5DF2DF
tetradic
#DF5DF2 #F2945D #70F25D #5DBAF2
square
#DF5DF2 #F2945D #70F25D #5DBAF2
split-complementary
#DF5DF2 #BAF25D #5DF294
monochromatic
#AE10C5 #D424ED #DF5DF2 #EA96F7 #F5CEFB

Accessibility & contrast

On white

3.01
#DF5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#DF5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5DF2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5DF2#FFFFFF#000000##000000
##DF5DF21.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#E2749F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #df5df2;
/* rgb */ color: rgb(223, 93, 242);
/* oklch */ color: oklch(69.9% 0.236 322.4);
Tailwind
colors: {
  custom: {
    50: '#ec93f7',
    500: '#df5df2',
    950: '#000000',
  },
}
SCSS
$custom: #df5df2;
$custom-light: #ec93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df5df2",
  "rgb": {
    "r": 223,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 292.349,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69896,
    "c": 0.23645,
    "h": 322.4
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#DF5DF2
secondary
#C3EEBD
accent
#E20420
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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