#DCA2DC#DCA2DC

#DCA2DC is a light, moderate purple. Relative luminance 0.462; OKLCH L 78.5% C 0.103 H 326.5°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#DCA2DC
RGBrgb(220, 162, 220)
HSLhsl(300, 45%, 75%)
HSVhsv(300, 26%, 86%)
CMYKcmyk(0%, 26.4%, 0%, 13.7%)
CIE-LABlab(73.69, 30.94, -20.96)
CIE-LCHlch(73.69, 37.38, 325.88°)
OKLaboklab(78.54% 0.0855 -0.0566)
OKLCHoklch(78.54% 0.103 326.5)
XYZxyz(55.3525, 46.2253, 73.7028)
Luminance0.4622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2DC #A2DCA2
analogous
#BFA2DC #DCA2DC #DCA2BF
triadic
#DCA2DC #DCDCA2 #A2DCDC
tetradic
#DCA2DC #DCBFA2 #A2DCA2 #A2BFDC
square
#DCA2DC #DCBFA2 #A2DCA2 #A2BFDC
split-complementary
#DCA2DC #BFDCA2 #A2DCBF
monochromatic
#BB49BB #CB76CB #DCA2DC #EDCEED #F7E9F7

Accessibility & contrast

On white

2.05
#DCA2DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#DCA2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2DC
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2DC#FFFFFF#000000##000000
##DCA2DC1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB1DE
Deuteranopia (green-blind)
#ACB8DA
Tritanopia (blue-blind)
#E0A7B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dca2dc;
/* rgb */ color: rgb(220, 162, 220);
/* oklch */ color: oklch(78.5% 0.103 326.5);
Tailwind
colors: {
  custom: {
    50: '#e7bee7',
    500: '#dca2dc',
    950: '#000000',
  },
}
SCSS
$custom: #dca2dc;
$custom-light: #e7bee7;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2dc",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 45.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78536,
    "c": 0.10252,
    "h": 326.5
  },
  "luminance": 0.46224
}

Semantic roles & 50–950 ramp

primary
#DCA2DC
secondary
#DDEEDD
accent
#B82D2D
background
#FEFBFE
surface
#FCF7FC
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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