#DE7AF3#DE7AF3

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

Color values

HEX#DE7AF3
RGBrgb(222, 122, 243)
HSLhsl(290, 83%, 72%)
HSVhsv(290, 50%, 95%)
CMYKcmyk(8.6%, 49.8%, 0%, 4.7%)
CIE-LABlab(66.46, 56.78, -44.76)
CIE-LCHlch(66.46, 72.30, 321.75°)
OKLaboklab(73.45% 0.1501 -0.1239)
OKLCHoklch(73.45% 0.195 320.5)
XYZxyz(53.2594, 35.9219, 88.9048)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7AF3 #8FF37A
analogous
#A27AF3 #DE7AF3 #F37ACC
triadic
#DE7AF3 #F3DE7A #7AF3DE
tetradic
#DE7AF3 #F3A27A #8FF37A #7ACCF3
square
#DE7AF3 #F3A27A #8FF37A #7ACCF3
split-complementary
#DE7AF3 #CCF37A #7AF3A2
monochromatic
#BB14DF #D042EE #DE7AF3 #ECB2F8 #F8E3FC

Accessibility & contrast

On white

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

On black

8.18
#DE7AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7AF3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7AF3#FFFFFF#000000##000000
##DE7AF31.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF7
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#E08BAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7af3;
/* rgb */ color: rgb(222, 122, 243);
/* oklch */ color: oklch(73.4% 0.195 320.5);
Tailwind
colors: {
  custom: {
    50: '#eaa4f7',
    500: '#de7af3',
    950: '#000000',
  },
}
SCSS
$custom: #de7af3;
$custom-light: #eaa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7af3",
  "rgb": {
    "r": 222,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 289.587,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73448,
    "c": 0.19462,
    "h": 320.5
  },
  "luminance": 0.3592
}

Semantic roles & 50–950 ramp

primary
#DE7AF3
secondary
#DAF4D5
accent
#E0062B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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