#DF7DE2#DF7DE2

#DF7DE2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.174 H 326.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DF7DE2
RGBrgb(223, 125, 226)
HSLhsl(298, 64%, 69%)
HSVhsv(298, 45%, 89%)
CMYKcmyk(1.3%, 44.7%, 0%, 11.4%)
CIE-LABlab(66.40, 52.41, -35.45)
CIE-LCHlch(66.40, 63.27, 325.93°)
OKLaboklab(73.19% 0.1445 -0.0971)
OKLCHoklch(73.19% 0.174 326.1)
XYZxyz(51.4914, 35.8487, 76.1440)
Luminance0.3585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DE2 #80E27D
analogous
#AD7DE2 #DF7DE2 #E27DB3
triadic
#DF7DE2 #E2DF7D #7DE2DF
tetradic
#DF7DE2 #E2AD7D #80E27D #7DB3E2
square
#DF7DE2 #E2AD7D #80E27D #7DB3E2
split-complementary
#DF7DE2 #B3E27D #7DE2AD
monochromatic
#B72ABB #D34BD7 #DF7DE2 #EBAFED #F8E1F8

Accessibility & contrast

On white

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

On black

8.17
#DF7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DE2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DE2#FFFFFF#000000##000000
##DF7DE21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#E488A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7de2;
/* rgb */ color: rgb(223, 125, 226);
/* oklch */ color: oklch(73.2% 0.174 326.1);
Tailwind
colors: {
  custom: {
    50: '#eba5eb',
    500: '#df7de2',
    950: '#000000',
  },
}
SCSS
$custom: #df7de2;
$custom-light: #eba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7de2",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 298.218,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73187,
    "c": 0.17412,
    "h": 326.1
  },
  "luminance": 0.35846
}

Semantic roles & 50–950 ramp

primary
#DF7DE2
secondary
#CFECCE
accent
#CB1A1F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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