#DF7EF4#DF7EF4

#DF7EF4 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.190 H 320.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF4
RGBrgb(223, 126, 244)
HSLhsl(289, 84%, 73%)
HSVhsv(289, 48%, 96%)
CMYKcmyk(8.6%, 48.4%, 0%, 4.3%)
CIE-LABlab(67.38, 55.26, -43.85)
CIE-LCHlch(67.38, 70.54, 321.57°)
OKLaboklab(74.17% 0.146 -0.1213)
OKLCHoklch(74.17% 0.19 320.3)
XYZxyz(54.2194, 37.1435, 89.8838)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF4 #93F47E
analogous
#A47EF4 #DF7EF4 #F47ECE
triadic
#DF7EF4 #F4DF7E #7EF4DF
tetradic
#DF7EF4 #F4A47E #93F47E #7ECEF4
square
#DF7EF4 #F4A47E #93F47E #7ECEF4
split-complementary
#DF7EF4 #CEF47E #7EF4A4
monochromatic
#BF13E4 #D146EF #DF7EF4 #EDB6F9 #F8E3FD

Accessibility & contrast

On white

2.49
#DF7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#DF7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF4#FFFFFF#000000##000000
##DF7EF41.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#E08EAE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ef4;
/* rgb */ color: rgb(223, 126, 244);
/* oklch */ color: oklch(74.2% 0.190 320.3);
Tailwind
colors: {
  custom: {
    50: '#eba6f8',
    500: '#df7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef4;
$custom-light: #eba6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef4",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 289.322,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74172,
    "c": 0.18979,
    "h": 320.3
  },
  "luminance": 0.37141
}

Semantic roles & 50–950 ramp

primary
#DF7EF4
secondary
#DCF5D6
accent
#E1052C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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