#DCA1EC#DCA1EC

#DCA1EC is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.0% C 0.121 H 318.9°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#DCA1EC
RGBrgb(220, 161, 236)
HSLhsl(287, 66%, 78%)
HSVhsv(287, 32%, 93%)
CMYKcmyk(6.8%, 31.8%, 0%, 7.5%)
CIE-LABlab(74.04, 34.53, -29.16)
CIE-LCHlch(74.04, 45.20, 319.82°)
OKLaboklab(78.99% 0.0914 -0.0796)
OKLCHoklch(78.99% 0.121 318.9)
XYZxyz(57.3983, 46.7629, 85.3431)
Luminance0.4676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1EC #B1ECA1
analogous
#B6A1EC #DCA1EC #ECA1D6
triadic
#DCA1EC #ECDCA1 #A1ECDC
tetradic
#DCA1EC #ECB6A1 #B1ECA1 #A1D6EC
square
#DCA1EC #ECB6A1 #B1ECA1 #A1D6EC
split-complementary
#DCA1EC #D6ECA1 #A1ECB6
monochromatic
#B63BD7 #C96EE2 #DCA1EC #EFD4F6 #F6E6FA

Accessibility & contrast

On white

2.03
#DCA1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#DCA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1EC
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1EC#FFFFFF#000000##000000
##DCA1EC1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EF
Deuteranopia (green-blind)
#A5B8EA
Tritanopia (blue-blind)
#DDAABC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dca1ec;
/* rgb */ color: rgb(220, 161, 236);
/* oklch */ color: oklch(79.0% 0.121 318.9);
Tailwind
colors: {
  custom: {
    50: '#e7bdf2',
    500: '#dca1ec',
    950: '#000000',
  },
}
SCSS
$custom: #dca1ec;
$custom-light: #e7bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1ec",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 287.2,
    "s": 66.372,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78989,
    "c": 0.12118,
    "h": 318.9
  },
  "luminance": 0.46762
}

Semantic roles & 50–950 ramp

primary
#DCA1EC
secondary
#DFF1DA
accent
#CE173E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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