#DCA7EE#DCA7EE

#DCA7EE is a light, moderate purple. Relative luminance 0.490; OKLCH L 80.1% C 0.113 H 317.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#DCA7EE
RGBrgb(220, 167, 238)
HSLhsl(285, 68%, 79%)
HSVhsv(285, 30%, 93%)
CMYKcmyk(7.6%, 29.8%, 0%, 6.7%)
CIE-LABlab(75.47, 31.69, -28.05)
CIE-LCHlch(75.47, 42.33, 318.48°)
OKLaboklab(80.1% 0.0831 -0.0765)
OKLCHoklch(80.1% 0.113 317.4)
XYZxyz(58.7643, 49.0274, 87.2399)
Luminance0.4903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7EE #B9EEA7
analogous
#B9A7EE #DCA7EE #EEA7DD
triadic
#DCA7EE #EEDCA7 #A7EEDC
tetradic
#DCA7EE #EEB9A7 #B9EEA7 #A7DDEE
square
#DCA7EE #EEB9A7 #B9EEA7 #A7DDEE
split-complementary
#DCA7EE #DDEEA7 #A7EEB9
monochromatic
#B340DA #C874E4 #DCA7EE #F0DAF8 #F5E5FA

Accessibility & contrast

On white

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

On black

10.81
#DCA7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7EE
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7EE#FFFFFF#000000##000000
##DCA7EE1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6F1
Deuteranopia (green-blind)
#AABCEC
Tritanopia (blue-blind)
#DCAFC1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca7ee;
/* rgb */ color: rgb(220, 167, 238);
/* oklch */ color: oklch(80.1% 0.113 317.4);
Tailwind
colors: {
  custom: {
    50: '#e7c1f3',
    500: '#dca7ee',
    950: '#000000',
  },
}
SCSS
$custom: #dca7ee;
$custom-light: #e7c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7ee",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 284.789,
    "s": 67.619,
    "l": 79.412
  },
  "oklch": {
    "l": 0.80103,
    "c": 0.11298,
    "h": 317.4
  },
  "luminance": 0.49026
}

Semantic roles & 50–950 ramp

primary
#DCA7EE
secondary
#E0F2D9
accent
#D01645
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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