#DCA2EC#DCA2EC

#DCA2EC is a light, moderate purple. Relative luminance 0.471; OKLCH L 79.2% C 0.119 H 318.8°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#DCA2EC
RGBrgb(220, 162, 236)
HSLhsl(287, 66%, 78%)
HSVhsv(287, 31%, 93%)
CMYKcmyk(6.8%, 31.4%, 0%, 7.5%)
CIE-LABlab(74.26, 33.99, -28.82)
CIE-LCHlch(74.26, 44.57, 319.71°)
OKLaboklab(79.16% 0.0899 -0.0786)
OKLCHoklch(79.16% 0.119 318.8)
XYZxyz(57.5738, 47.1138, 85.4016)
Luminance0.4711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2EC #B2ECA2
analogous
#B7A2EC #DCA2EC #ECA2D7
triadic
#DCA2EC #ECDCA2 #A2ECDC
tetradic
#DCA2EC #ECB7A2 #B2ECA2 #A2D7EC
square
#DCA2EC #ECB7A2 #B2ECA2 #A2D7EC
split-complementary
#DCA2EC #D7ECA2 #A2ECB7
monochromatic
#B63CD7 #C96FE2 #DCA2EC #EFD5F6 #F5E6FA

Accessibility & contrast

On white

2.01
#DCA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#DCA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2EC
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2EC#FFFFFF#000000##000000
##DCA2EC1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B3EF
Deuteranopia (green-blind)
#A6B9EA
Tritanopia (blue-blind)
#DDAABD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca2ec;
/* rgb */ color: rgb(220, 162, 236);
/* oklch */ color: oklch(79.2% 0.119 318.8);
Tailwind
colors: {
  custom: {
    50: '#e7bef2',
    500: '#dca2ec',
    950: '#000000',
  },
}
SCSS
$custom: #dca2ec;
$custom-light: #e7bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2ec",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 287.027,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7916,
    "c": 0.11944,
    "h": 318.8
  },
  "luminance": 0.47112
}

Semantic roles & 50–950 ramp

primary
#DCA2EC
secondary
#DFF1DA
accent
#CE183F
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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