#DCA7EA#DCA7EA

#DCA7EA is a light, moderate purple. Relative luminance 0.488; OKLCH L 79.9% C 0.109 H 319.1°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#DCA7EA
RGBrgb(220, 167, 234)
HSLhsl(287, 61%, 79%)
HSVhsv(287, 29%, 92%)
CMYKcmyk(6%, 28.6%, 0%, 8.2%)
CIE-LABlab(75.32, 30.91, -26.11)
CIE-LCHlch(75.32, 40.46, 319.81°)
OKLaboklab(79.94% 0.082 -0.071)
OKLCHoklch(79.94% 0.109 319.1)
XYZxyz(58.1832, 48.7949, 84.1793)
Luminance0.4879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7EA #B5EAA7
analogous
#BAA7EA #DCA7EA #EAA7D6
triadic
#DCA7EA #EADCA7 #A7EADC
tetradic
#DCA7EA #EABAA7 #B5EAA7 #A7D6EA
square
#DCA7EA #EABAA7 #B5EAA7 #A7D6EA
split-complementary
#DCA7EA #D6EAA7 #A7EABA
monochromatic
#B544D2 #C876DE #DCA7EA #F0D8F6 #F5E6F9

Accessibility & contrast

On white

1.95
#DCA7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#DCA7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7EA
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7EA#FFFFFF#000000##000000
##DCA7EA1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB6ED
Deuteranopia (green-blind)
#ABBBE8
Tritanopia (blue-blind)
#DDAEBF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dca7ea;
/* rgb */ color: rgb(220, 167, 234);
/* oklch */ color: oklch(79.9% 0.109 319.1);
Tailwind
colors: {
  custom: {
    50: '#e7c1f1',
    500: '#dca7ea',
    950: '#000000',
  },
}
SCSS
$custom: #dca7ea;
$custom-light: #e7c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7ea",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 287.463,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.10851,
    "h": 319.1
  },
  "luminance": 0.48794
}

Semantic roles & 50–950 ramp

primary
#DCA7EA
secondary
#DFF0DB
accent
#C91C40
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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