#DEA7EC#DEA7EC

#DEA7EC is a light, moderate purple. Relative luminance 0.492; OKLCH L 80.2% C 0.112 H 319.3°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#DEA7EC
RGBrgb(222, 167, 236)
HSLhsl(288, 64%, 79%)
HSVhsv(288, 29%, 93%)
CMYKcmyk(5.9%, 29.2%, 0%, 7.5%)
CIE-LABlab(75.59, 31.93, -26.77)
CIE-LCHlch(75.59, 41.66, 320.03°)
OKLaboklab(80.22% 0.0848 -0.0728)
OKLCHoklch(80.22% 0.112 319.3)
XYZxyz(59.0812, 49.2245, 85.7296)
Luminance0.4922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEA7EC #B5ECA7
analogous
#BCA7EC #DEA7EC #ECA7D8
triadic
#DEA7EC #ECDEA7 #A7ECDE
tetradic
#DEA7EC #ECBCA7 #B5ECA7 #A7D8EC
square
#DEA7EC #ECBCA7 #B5ECA7 #A7D8EC
split-complementary
#DEA7EC #D8ECA7 #A7ECBC
monochromatic
#B842D6 #CB75E1 #DEA7EC #F1D9F7 #F6E6FA

Accessibility & contrast

On white

1.94
#DEA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#DEA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEA7EC
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEA7EC#FFFFFF#000000##000000
##DEA7EC1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB7EF
Deuteranopia (green-blind)
#ABBCEA
Tritanopia (blue-blind)
#DFAFC0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dea7ec;
/* rgb */ color: rgb(222, 167, 236);
/* oklch */ color: oklch(80.2% 0.112 319.3);
Tailwind
colors: {
  custom: {
    50: '#e9c1f2',
    500: '#dea7ec',
    950: '#000000',
  },
}
SCSS
$custom: #dea7ec;
$custom-light: #e9c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dea7ec",
  "rgb": {
    "r": 222,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 287.826,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80217,
    "c": 0.11183,
    "h": 319.3
  },
  "luminance": 0.49223
}

Semantic roles & 50–950 ramp

primary
#DEA7EC
secondary
#DFF1DA
accent
#CC193E
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DEA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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