#DF5FE2#DF5FE2

#DF5FE2 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.3% C 0.220 H 326.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#DF5FE2
RGBrgb(223, 95, 226)
HSLhsl(299, 69%, 63%)
HSVhsv(299, 58%, 89%)
CMYKcmyk(1.3%, 58%, 0%, 11.4%)
CIE-LABlab(61.10, 66.52, -43.74)
CIE-LCHlch(61.10, 79.61, 326.67°)
OKLaboklab(69.28% 0.184 -0.1207)
OKLCHoklch(69.28% 0.22 326.7)
XYZxyz(48.2502, 29.3663, 75.0636)
Luminance0.2936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5FE2 #62E25F
analogous
#9D5FE2 #DF5FE2 #E25FA3
triadic
#DF5FE2 #E2DF5F #5FE2DF
tetradic
#DF5FE2 #E29D5F #62E25F #5FA3E2
square
#DF5FE2 #E29D5F #62E25F #5FA3E2
split-complementary
#DF5FE2 #A3E25F #5FE29D
monochromatic
#A51EA8 #D52BD9 #DF5FE2 #E993EB #F4C7F5

Accessibility & contrast

On white

3.06
#DF5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#DF5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5FE2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5FE2#FFFFFF#000000##000000
##DF5FE21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#7A99DE
Tritanopia (blue-blind)
#E57098
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #df5fe2;
/* rgb */ color: rgb(223, 95, 226);
/* oklch */ color: oklch(69.3% 0.220 326.7);
Tailwind
colors: {
  custom: {
    50: '#ec93eb',
    500: '#df5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #df5fe2;
$custom-light: #ec93eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df5fe2",
  "rgb": {
    "r": 223,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 298.626,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6928,
    "c": 0.22009,
    "h": 326.7
  },
  "luminance": 0.29363
}

Semantic roles & 50–950 ramp

primary
#DF5FE2
secondary
#B8E6B7
accent
#D11419
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #DF5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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