#DE7AF5#DE7AF5

#DE7AF5 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.197 H 319.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DE7AF5
RGBrgb(222, 122, 245)
HSLhsl(289, 86%, 72%)
HSVhsv(289, 50%, 96%)
CMYKcmyk(9.4%, 50.2%, 0%, 3.9%)
CIE-LABlab(66.55, 57.16, -45.71)
CIE-LCHlch(66.55, 73.19, 321.35°)
OKLaboklab(73.55% 0.1503 -0.1267)
OKLCHoklch(73.55% 0.197 319.9)
XYZxyz(53.5631, 36.0433, 90.5041)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AF5 #91F57A
analogous
#A07AF5 #DE7AF5 #F57ACF
triadic
#DE7AF5 #F5DE7A #7AF5DE
tetradic
#DE7AF5 #F5A07A #91F57A #7ACFF5
square
#DE7AF5 #F5A07A #91F57A #7ACFF5
split-complementary
#DE7AF5 #CFF57A #7AF5A0
monochromatic
#BC11E3 #D041F1 #DE7AF5 #ECB3F9 #F8E3FD

Accessibility & contrast

On white

2.56
#DE7AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#DE7AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AF5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AF5#FFFFFF#000000##000000
##DE7AF51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#83A5F2
Tritanopia (blue-blind)
#DF8BAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7af5;
/* rgb */ color: rgb(222, 122, 245);
/* oklch */ color: oklch(73.5% 0.197 319.9);
Tailwind
colors: {
  custom: {
    50: '#eba4f9',
    500: '#de7af5',
    950: '#000000',
  },
}
SCSS
$custom: #de7af5;
$custom-light: #eba4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#de7af5",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 288.78,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.19657,
    "h": 319.9
  },
  "luminance": 0.36041
}

Semantic roles & 50–950 ramp

primary
#DE7AF5
secondary
#DCF5D6
accent
#E3032D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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