#DF7EF8#DF7EF8

#DF7EF8 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.194 H 319.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DF7EF8
RGBrgb(223, 126, 248)
HSLhsl(288, 90%, 73%)
HSVhsv(288, 49%, 97%)
CMYKcmyk(10.1%, 49.2%, 0%, 2.7%)
CIE-LABlab(67.57, 56.03, -45.76)
CIE-LCHlch(67.57, 72.34, 320.76°)
OKLaboklab(74.37% 0.1465 -0.1268)
OKLCHoklch(74.37% 0.194 319.1)
XYZxyz(54.8334, 37.3890, 93.1171)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EF8 #97F87E
analogous
#A27EF8 #DF7EF8 #F87ED4
triadic
#DF7EF8 #F8DF7E #7EF8DF
tetradic
#DF7EF8 #F8A27E #97F87E #7ED4F8
square
#DF7EF8 #F8A27E #97F87E #7ED4F8
split-complementary
#DF7EF8 #D4F87E #7EF8A2
monochromatic
#C00DEF #D144F5 #DF7EF8 #EDB8FB #F8E2FD

Accessibility & contrast

On white

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

On black

8.48
#DF7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EF8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EF8#FFFFFF#000000##000000
##DF7EF81.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#86A8F5
Tritanopia (blue-blind)
#E08FB0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7ef8;
/* rgb */ color: rgb(223, 126, 248);
/* oklch */ color: oklch(74.4% 0.194 319.1);
Tailwind
colors: {
  custom: {
    50: '#eba6fb',
    500: '#df7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #df7ef8;
$custom-light: #eba6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ef8",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 287.705,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.19375,
    "h": 319.1
  },
  "luminance": 0.37387
}

Semantic roles & 50–950 ramp

primary
#DF7EF8
secondary
#DCF6D5
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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