#DF7EDC#DF7EDC

#DF7EDC is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.167 H 328.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DF7EDC
RGBrgb(223, 126, 220)
HSLhsl(302, 60%, 68%)
HSVhsv(302, 43%, 87%)
CMYKcmyk(0%, 43.5%, 1.3%, 12.5%)
CIE-LABlab(66.35, 50.83, -32.20)
CIE-LCHlch(66.35, 60.17, 327.65°)
OKLaboklab(73.07% 0.142 -0.0879)
OKLCHoklch(73.07% 0.167 328.2)
XYZxyz(50.8097, 35.7796, 71.9261)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EDC #7EDF81
analogous
#B17EDF #DF7EDC #DF7EAB
triadic
#DF7EDC #DCDF7E #7EDCDF
tetradic
#DF7EDC #DFB17E #7EDF81 #7EABDF
square
#DF7EDC #DFB17E #7EDF81 #7EABDF
split-complementary
#DF7EDC #ABDF7E #7EDFB1
monochromatic
#B62DB1 #D34DCF #DF7EDC #EBAFE9 #F7E0F7

Accessibility & contrast

On white

2.57
#DF7EDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#DF7EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EDC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EDC#FFFFFF#000000##000000
##DF7EDC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#E587A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7edc;
/* rgb */ color: rgb(223, 126, 220);
/* oklch */ color: oklch(73.1% 0.167 328.2);
Tailwind
colors: {
  custom: {
    50: '#eba6e7',
    500: '#df7edc',
    950: '#000000',
  },
}
SCSS
$custom: #df7edc;
$custom-light: #eba6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7edc",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 220
  },
  "hsl": {
    "h": 301.856,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73066,
    "c": 0.16696,
    "h": 328.2
  },
  "luminance": 0.35777
}

Semantic roles & 50–950 ramp

primary
#DF7EDC
secondary
#CEEBCF
accent
#C8231E
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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