#DE7AFD#DE7AFD

#DE7AFD is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.0% C 0.204 H 317.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DE7AFD
RGBrgb(222, 122, 253)
HSLhsl(286, 97%, 74%)
HSVhsv(286, 52%, 99%)
CMYKcmyk(12.3%, 51.8%, 0%, 0.8%)
CIE-LABlab(66.93, 58.71, -49.51)
CIE-LCHlch(66.93, 76.80, 319.86°)
OKLaboklab(73.95% 0.1512 -0.1376)
OKLCHoklch(73.95% 0.204 317.7)
XYZxyz(54.8109, 36.5425, 97.0756)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AFD #99FD7A
analogous
#9C7AFD #DE7AFD #FD7ADA
triadic
#DE7AFD #FDDE7A #7AFDDE
tetradic
#DE7AFD #FD9C7A #99FD7A #7ADAFD
square
#DE7AFD #FD9C7A #99FD7A #7ADAFD
split-complementary
#DE7AFD #DAFD7A #7AFD9C
monochromatic
#BF04F9 #CF3EFC #DE7AFD #EDB6FE #F8E1FF

Accessibility & contrast

On white

2.53
#DE7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DE7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AFD
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AFD#FFFFFF#000000##000000
##DE7AFD1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#DD8EB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7afd;
/* rgb */ color: rgb(222, 122, 253);
/* oklch */ color: oklch(74.0% 0.204 317.7);
Tailwind
colors: {
  custom: {
    50: '#eba4fe',
    500: '#de7afd',
    950: '#000000',
  },
}
SCSS
$custom: #de7afd;
$custom-light: #eba4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de7afd",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 285.802,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7395,
    "c": 0.20446,
    "h": 317.7
  },
  "luminance": 0.36541
}

Semantic roles & 50–950 ramp

primary
#DE7AFD
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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