#DE7AF8#DE7AF8

#DE7AF8 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.7% C 0.200 H 319.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DE7AF8
RGBrgb(222, 122, 248)
HSLhsl(288, 90%, 73%)
HSVhsv(288, 51%, 97%)
CMYKcmyk(10.5%, 50.8%, 0%, 2.7%)
CIE-LABlab(66.69, 57.74, -47.14)
CIE-LCHlch(66.69, 74.54, 320.77°)
OKLaboklab(73.7% 0.1507 -0.1308)
OKLCHoklch(73.7% 0.2 319)
XYZxyz(54.0248, 36.2280, 92.9356)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AF8 #94F87A
analogous
#9F7AF8 #DE7AF8 #F87AD3
triadic
#DE7AF8 #F8DE7A #7AF8DE
tetradic
#DE7AF8 #F89F7A #94F87A #7AD3F8
square
#DE7AF8 #F89F7A #94F87A #7AD3F8
split-complementary
#DE7AF8 #D3F87A #7AF89F
monochromatic
#BD0CEB #D040F5 #DE7AF8 #ECB4FB #F8E2FD

Accessibility & contrast

On white

2.55
#DE7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DE7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AF8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AF8#FFFFFF#000000##000000
##DE7AF81.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#DF8CAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7af8;
/* rgb */ color: rgb(222, 122, 248);
/* oklch */ color: oklch(73.7% 0.200 319.0);
Tailwind
colors: {
  custom: {
    50: '#eba4fb',
    500: '#de7af8',
    950: '#000000',
  },
}
SCSS
$custom: #de7af8;
$custom-light: #eba4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de7af8",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 287.619,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73696,
    "c": 0.19951,
    "h": 319
  },
  "luminance": 0.36226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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