#DCA5EA#DCA5EA

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

Color values

HEX#DCA5EA
RGBrgb(220, 165, 234)
HSLhsl(288, 62%, 78%)
HSVhsv(288, 29%, 92%)
CMYKcmyk(6%, 29.5%, 0%, 8.2%)
CIE-LABlab(74.87, 31.99, -26.80)
CIE-LCHlch(74.87, 41.73, 320.04°)
OKLaboklab(79.6% 0.085 -0.073)
OKLCHoklch(79.6% 0.112 319.3)
XYZxyz(57.8196, 48.0678, 84.0581)
Luminance0.4807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA5EA #B3EAA5
analogous
#B9A5EA #DCA5EA #EAA5D5
triadic
#DCA5EA #EADCA5 #A5EADC
tetradic
#DCA5EA #EAB9A5 #B3EAA5 #A5D5EA
square
#DCA5EA #EAB9A5 #B3EAA5 #A5D5EA
split-complementary
#DCA5EA #D5EAA5 #A5EAB9
monochromatic
#B542D3 #C973DE #DCA5EA #EFD7F6 #F5E6F9

Accessibility & contrast

On white

1.98
#DCA5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#DCA5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA5EA
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA5EA#FFFFFF#000000##000000
##DCA5EA1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5ED
Deuteranopia (green-blind)
#A9BAE8
Tritanopia (blue-blind)
#DDADBE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca5ea;
/* rgb */ color: rgb(220, 165, 234);
/* oklch */ color: oklch(79.6% 0.112 319.3);
Tailwind
colors: {
  custom: {
    50: '#e7c0f1',
    500: '#dca5ea',
    950: '#000000',
  },
}
SCSS
$custom: #dca5ea;
$custom-light: #e7c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dca5ea",
  "rgb": {
    "r": 220,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 287.826,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79597,
    "c": 0.11201,
    "h": 319.3
  },
  "luminance": 0.48066
}

Semantic roles & 50–950 ramp

primary
#DCA5EA
secondary
#DFF1DA
accent
#CA1C3F
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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