#DE7AFF#DE7AFF

#DE7AFF is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.1% C 0.206 H 317.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DE7AFF
RGBrgb(222, 122, 255)
HSLhsl(285, 100%, 74%)
HSVhsv(285, 52%, 100%)
CMYKcmyk(12.9%, 52.2%, 0%, 0%)
CIE-LABlab(67.03, 59.10, -50.45)
CIE-LCHlch(67.03, 77.70, 319.52°)
OKLaboklab(74.05% 0.1514 -0.1404)
OKLCHoklch(74.05% 0.206 317.2)
XYZxyz(55.1311, 36.6706, 98.7624)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AFF #9BFF7A
analogous
#9C7AFF #DE7AFF #FF7ADE
triadic
#DE7AFF #FFDE7A #7AFFDE
tetradic
#DE7AFF #FF9C7A #9BFF7A #7ADEFF
square
#DE7AFF #FF9C7A #9BFF7A #7ADEFF
split-complementary
#DE7AFF #DEFF7A #7AFF9C
monochromatic
#BF00FF #CF3DFF #DE7AFF #EDB7FF #F7E0FF

Accessibility & contrast

On white

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

On black

8.33
#DE7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AFF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AFF#FFFFFF#000000##000000
##DE7AFF1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de7aff;
/* rgb */ color: rgb(222, 122, 255);
/* oklch */ color: oklch(74.1% 0.206 317.2);
Tailwind
colors: {
  custom: {
    50: '#eba4ff',
    500: '#de7aff',
    950: '#000000',
  },
}
SCSS
$custom: #de7aff;
$custom-light: #eba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#de7aff",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 285.113,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74053,
    "c": 0.20644,
    "h": 317.2
  },
  "luminance": 0.36669
}

Semantic roles & 50–950 ramp

primary
#DE7AFF
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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