#DF5CEC#DF5CEC

#DF5CEC is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.5% C 0.233 H 324.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#DF5CEC
RGBrgb(223, 92, 236)
HSLhsl(295, 79%, 64%)
HSVhsv(295, 61%, 93%)
CMYKcmyk(5.5%, 61%, 0%, 7.5%)
CIE-LABlab(61.13, 69.53, -49.28)
CIE-LCHlch(61.13, 85.22, 324.67°)
OKLaboklab(69.46% 0.1882 -0.1368)
OKLCHoklch(69.46% 0.233 324)
XYZxyz(49.3976, 29.4012, 82.4137)
Luminance0.2940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5CEC #69EC5C
analogous
#975CEC #DF5CEC #EC5CB1
triadic
#DF5CEC #ECDF5C #5CECDF
tetradic
#DF5CEC #EC975C #69EC5C #5CB1EC
square
#DF5CEC #EC975C #69EC5C #5CB1EC
split-complementary
#DF5CEC #B1EC5C #5CEC97
monochromatic
#A915B8 #D425E6 #DF5CEC #EA93F2 #F5CAF9

Accessibility & contrast

On white

3.05
#DF5CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#DF5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5CEC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5CEC#FFFFFF#000000##000000
##DF5CEC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#E3719C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #df5cec;
/* rgb */ color: rgb(223, 92, 236);
/* oklch */ color: oklch(69.5% 0.233 324.0);
Tailwind
colors: {
  custom: {
    50: '#ec92f3',
    500: '#df5cec',
    950: '#000000',
  },
}
SCSS
$custom: #df5cec;
$custom-light: #ec92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#df5cec",
  "rgb": {
    "r": 223,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 294.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.23264,
    "h": 324
  },
  "luminance": 0.29398
}

Semantic roles & 50–950 ramp

primary
#DF5CEC
secondary
#BDEBB9
accent
#DB0A1D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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