#DF7EF7#DF7EF7

#DF7EF7 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.193 H 319.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF7
RGBrgb(223, 126, 247)
HSLhsl(288, 88%, 73%)
HSVhsv(288, 49%, 97%)
CMYKcmyk(9.7%, 49%, 0%, 3.1%)
CIE-LABlab(67.52, 55.84, -45.28)
CIE-LCHlch(67.52, 71.89, 320.96°)
OKLaboklab(74.32% 0.1464 -0.1254)
OKLCHoklch(74.32% 0.193 319.4)
XYZxyz(54.6786, 37.3271, 92.3023)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF7 #96F77E
analogous
#A27EF7 #DF7EF7 #F77ED2
triadic
#DF7EF7 #F7DF7E #7EF7DF
tetradic
#DF7EF7 #F7A27E #96F77E #7ED2F7
square
#DF7EF7 #F7A27E #96F77E #7ED2F7
split-complementary
#DF7EF7 #D2F77E #7EF7A2
monochromatic
#C00FEC #D144F3 #DF7EF7 #EDB8FB #F8E2FD

Accessibility & contrast

On white

2.48
#DF7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#DF7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF7#FFFFFF#000000##000000
##DF7EF71.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#E08FAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ef7;
/* rgb */ color: rgb(223, 126, 247);
/* oklch */ color: oklch(74.3% 0.193 319.4);
Tailwind
colors: {
  custom: {
    50: '#eba6fa',
    500: '#df7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef7;
$custom-light: #eba6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef7",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 288.099,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.19275,
    "h": 319.4
  },
  "luminance": 0.37325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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