#DE7AFE#DE7AFE

#DE7AFE is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.0% C 0.205 H 317.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DE7AFE
RGBrgb(222, 122, 254)
HSLhsl(285, 99%, 74%)
HSVhsv(285, 52%, 100%)
CMYKcmyk(12.6%, 52%, 0%, 0.4%)
CIE-LABlab(66.98, 58.91, -49.98)
CIE-LCHlch(66.98, 77.25, 319.69°)
OKLaboklab(74% 0.1513 -0.139)
OKLCHoklch(74% 0.205 317.4)
XYZxyz(54.9706, 36.6063, 97.9168)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AFE #9AFE7A
analogous
#9C7AFE #DE7AFE #FE7ADC
triadic
#DE7AFE #FEDE7A #7AFEDE
tetradic
#DE7AFE #FE9C7A #9AFE7A #7ADCFE
square
#DE7AFE #FE9C7A #9AFE7A #7ADCFE
split-complementary
#DE7AFE #DCFE7A #7AFE9C
monochromatic
#BF02FC #CF3DFE #DE7AFE #EDB7FE #F7E1FF

Accessibility & contrast

On white

2.52
#DE7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#DE7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AFE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AFE#FFFFFF#000000##000000
##DE7AFE1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#DD8EB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7afe;
/* rgb */ color: rgb(222, 122, 254);
/* oklch */ color: oklch(74.0% 0.205 317.4);
Tailwind
colors: {
  custom: {
    50: '#eba4ff',
    500: '#de7afe',
    950: '#000000',
  },
}
SCSS
$custom: #de7afe;
$custom-light: #eba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#de7afe",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 285.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74001,
    "c": 0.20545,
    "h": 317.4
  },
  "luminance": 0.36604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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