#DE7AF2#DE7AF2

#DE7AF2 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.194 H 320.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DE7AF2
RGBrgb(222, 122, 242)
HSLhsl(290, 82%, 71%)
HSVhsv(290, 50%, 95%)
CMYKcmyk(8.3%, 49.6%, 0%, 5.1%)
CIE-LABlab(66.41, 56.59, -44.28)
CIE-LCHlch(66.41, 71.86, 321.96°)
OKLaboklab(73.4% 0.15 -0.1225)
OKLCHoklch(73.4% 0.194 320.7)
XYZxyz(53.1089, 35.8616, 88.1117)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AF2 #8EF27A
analogous
#A27AF2 #DE7AF2 #F27ACA
triadic
#DE7AF2 #F2DE7A #7AF2DE
tetradic
#DE7AF2 #F2A27A #8EF27A #7ACAF2
square
#DE7AF2 #F2A27A #8EF27A #7ACAF2
split-complementary
#DE7AF2 #CAF27A #7AF2A2
monochromatic
#BB16DC #D042ED #DE7AF2 #ECB2F7 #F8E3FC

Accessibility & contrast

On white

2.57
#DE7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DE7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AF2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AF2#FFFFFF#000000##000000
##DE7AF21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#E08AAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de7af2;
/* rgb */ color: rgb(222, 122, 242);
/* oklch */ color: oklch(73.4% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#eaa4f7',
    500: '#de7af2',
    950: '#000000',
  },
}
SCSS
$custom: #de7af2;
$custom-light: #eaa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7af2",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 290,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73398,
    "c": 0.19365,
    "h": 320.7
  },
  "luminance": 0.35859
}

Semantic roles & 50–950 ramp

primary
#DE7AF2
secondary
#DAF3D4
accent
#DF072B
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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