#DF7DF8#DF7DF8

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

Color values

HEX#DF7DF8
RGBrgb(223, 125, 248)
HSLhsl(288, 90%, 73%)
HSVhsv(288, 50%, 97%)
CMYKcmyk(10.1%, 49.6%, 0%, 2.7%)
CIE-LABlab(67.38, 56.53, -46.06)
CIE-LCHlch(67.38, 72.91, 320.83°)
OKLaboklab(74.23% 0.1478 -0.1277)
OKLCHoklch(74.23% 0.195 319.2)
XYZxyz(54.7061, 37.1346, 93.0747)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DF8 #96F87D
analogous
#A17DF8 #DF7DF8 #F87DD3
triadic
#DF7DF8 #F8DF7D #7DF8DF
tetradic
#DF7DF8 #F8A17D #96F87D #7DD3F8
square
#DF7DF8 #F8A17D #96F87D #7DD3F8
split-complementary
#DF7DF8 #D3F87D #7DF8A1
monochromatic
#C00DEE #D143F5 #DF7DF8 #EDB7FB #F8E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF7DF8#FFFFFF#000000##000000
##DF7DF81.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)
#679DFC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#E08EAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7df8;
/* rgb */ color: rgb(223, 125, 248);
/* oklch */ color: oklch(74.2% 0.195 319.2);
Tailwind
colors: {
  custom: {
    50: '#eba6fb',
    500: '#df7df8',
    950: '#000000',
  },
}
SCSS
$custom: #df7df8;
$custom-light: #eba6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7df8",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 287.805,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.19532,
    "h": 319.2
  },
  "luminance": 0.37133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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