#DCA3EC#DCA3EC

#DCA3EC is a light, moderate purple. Relative luminance 0.475; OKLCH L 79.3% C 0.118 H 318.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#DCA3EC
RGBrgb(220, 163, 236)
HSLhsl(287, 66%, 78%)
HSVhsv(287, 31%, 93%)
CMYKcmyk(6.8%, 30.9%, 0%, 7.5%)
CIE-LABlab(74.49, 33.46, -28.47)
CIE-LCHlch(74.49, 43.93, 319.60°)
OKLaboklab(79.33% 0.0884 -0.0777)
OKLCHoklch(79.33% 0.118 318.7)
XYZxyz(57.7506, 47.4675, 85.4606)
Luminance0.4747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA3EC #B3ECA3
analogous
#B7A3EC #DCA3EC #ECA3D7
triadic
#DCA3EC #ECDCA3 #A3ECDC
tetradic
#DCA3EC #ECB7A3 #B3ECA3 #A3D7EC
square
#DCA3EC #ECB7A3 #B3ECA3 #A3D7EC
split-complementary
#DCA3EC #D7ECA3 #A3ECB7
monochromatic
#B53ED7 #C970E2 #DCA3EC #EFD6F6 #F5E6FA

Accessibility & contrast

On white

2.00
#DCA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#DCA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA3EC
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA3EC#FFFFFF#000000##000000
##DCA3EC1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EF
Deuteranopia (green-blind)
#A7B9EA
Tritanopia (blue-blind)
#DDABBD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca3ec;
/* rgb */ color: rgb(220, 163, 236);
/* oklch */ color: oklch(79.3% 0.118 318.7);
Tailwind
colors: {
  custom: {
    50: '#e7bff2',
    500: '#dca3ec',
    950: '#000000',
  },
}
SCSS
$custom: #dca3ec;
$custom-light: #e7bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#dca3ec",
  "rgb": {
    "r": 220,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 286.849,
    "s": 65.766,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79331,
    "c": 0.1177,
    "h": 318.7
  },
  "luminance": 0.47466
}

Semantic roles & 50–950 ramp

primary
#DCA3EC
secondary
#DFF1DA
accent
#CE1840
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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