#DE7AF9#DE7AF9

#DE7AF9 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 73.7% C 0.201 H 318.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DE7AF9
RGBrgb(222, 122, 249)
HSLhsl(287, 91%, 73%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(10.8%, 51%, 0%, 2.4%)
CIE-LABlab(66.74, 57.93, -47.61)
CIE-LCHlch(66.74, 74.99, 320.58°)
OKLaboklab(73.75% 0.1508 -0.1322)
OKLCHoklch(73.75% 0.201 318.8)
XYZxyz(54.1804, 36.2902, 93.7549)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AF9 #95F97A
analogous
#9E7AF9 #DE7AF9 #F97AD5
triadic
#DE7AF9 #F9DE7A #7AF9DE
tetradic
#DE7AF9 #F99E7A #95F97A #7AD5F9
square
#DE7AF9 #F99E7A #95F97A #7AD5F9
split-complementary
#DE7AF9 #D5F97A #7AF99E
monochromatic
#BE0BEE #CF3FF6 #DE7AF9 #EDB5FC #F8E2FE

Accessibility & contrast

On white

2.54
#DE7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#DE7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AF9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AF9#FFFFFF#000000##000000
##DE7AF91.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#DE8CAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7af9;
/* rgb */ color: rgb(222, 122, 249);
/* oklch */ color: oklch(73.7% 0.201 318.8);
Tailwind
colors: {
  custom: {
    50: '#eba4fc',
    500: '#de7af9',
    950: '#000000',
  },
}
SCSS
$custom: #de7af9;
$custom-light: #eba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#de7af9",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 287.244,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73747,
    "c": 0.2005,
    "h": 318.8
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#DE7AF9
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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