#DE7DF8#DE7DF8

#DE7DF8 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.195 H 318.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DE7DF8
RGBrgb(222, 125, 248)
HSLhsl(287, 90%, 73%)
HSVhsv(287, 50%, 97%)
CMYKcmyk(10.5%, 49.6%, 0%, 2.7%)
CIE-LABlab(67.26, 56.26, -46.25)
CIE-LCHlch(67.26, 72.83, 320.58°)
OKLaboklab(74.11% 0.1467 -0.1282)
OKLCHoklch(74.11% 0.195 318.8)
XYZxyz(54.3989, 36.9761, 93.0603)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DF8 #97F87D
analogous
#A07DF8 #DE7DF8 #F87DD4
triadic
#DE7DF8 #F8DE7D #7DF8DE
tetradic
#DE7DF8 #F8A07D #97F87D #7DD4F8
square
#DE7DF8 #F8A07D #97F87D #7DD4F8
split-complementary
#DE7DF8 #D4F87D #7DF8A0
monochromatic
#BE0DEE #CF43F5 #DE7DF8 #EDB7FB #F8E2FD

Accessibility & contrast

On white

2.50
#DE7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#DE7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DF8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DF8#FFFFFF#000000##000000
##DE7DF81.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#DE8EAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de7df8;
/* rgb */ color: rgb(222, 125, 248);
/* oklch */ color: oklch(74.1% 0.195 318.8);
Tailwind
colors: {
  custom: {
    50: '#eaa6fb',
    500: '#de7df8',
    950: '#000000',
  },
}
SCSS
$custom: #de7df8;
$custom-light: #eaa6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de7df8",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 287.317,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74114,
    "c": 0.19484,
    "h": 318.8
  },
  "luminance": 0.36974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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