#DF7DEC#DF7DEC

#DF7DEC is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.184 H 322.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#DF7DEC
RGBrgb(223, 125, 236)
HSLhsl(293, 74%, 71%)
HSVhsv(293, 47%, 93%)
CMYKcmyk(5.5%, 47%, 0%, 7.5%)
CIE-LABlab(66.83, 54.25, -40.31)
CIE-LCHlch(66.83, 67.58, 323.39°)
OKLaboklab(73.65% 0.1462 -0.1111)
OKLCHoklch(73.65% 0.184 322.8)
XYZxyz(52.9038, 36.4136, 83.5825)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DEC #8AEC7D
analogous
#A77DEC #DF7DEC #EC7DC1
triadic
#DF7DEC #ECDF7D #7DECDF
tetradic
#DF7DEC #ECA77D #8AEC7D #7DC1EC
square
#DF7DEC #ECA77D #8AEC7D #7DC1EC
split-complementary
#DF7DEC #C1EC7D #7DECA7
monochromatic
#BB1ED0 #D248E4 #DF7DEC #ECB2F4 #F8E4FB

Accessibility & contrast

On white

2.54
#DF7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#DF7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DEC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DEC#FFFFFF#000000##000000
##DF7DEC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#E28BAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7dec;
/* rgb */ color: rgb(223, 125, 236);
/* oklch */ color: oklch(73.6% 0.184 322.8);
Tailwind
colors: {
  custom: {
    50: '#eba6f2',
    500: '#df7dec',
    950: '#000000',
  },
}
SCSS
$custom: #df7dec;
$custom-light: #eba6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dec",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 292.973,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73648,
    "c": 0.18359,
    "h": 322.8
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#DF7DEC
secondary
#D7F1D3
accent
#D70F26
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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