#DCA1EA#DCA1EA

#DCA1EA is a light, moderate purple. Relative luminance 0.466; OKLCH L 78.9% C 0.119 H 319.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#DCA1EA
RGBrgb(220, 161, 234)
HSLhsl(288, 63%, 77%)
HSVhsv(288, 31%, 92%)
CMYKcmyk(6%, 31.2%, 0%, 8.2%)
CIE-LABlab(73.96, 34.14, -28.19)
CIE-LCHlch(73.96, 44.28, 320.45°)
OKLaboklab(78.91% 0.0909 -0.0768)
OKLCHoklch(78.91% 0.119 319.8)
XYZxyz(57.1094, 46.6474, 83.8214)
Luminance0.4665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1EA #AFEAA1
analogous
#B7A1EA #DCA1EA #EAA1D4
triadic
#DCA1EA #EADCA1 #A1EADC
tetradic
#DCA1EA #EAB7A1 #AFEAA1 #A1D4EA
square
#DCA1EA #EAB7A1 #AFEAA1 #A1D4EA
split-complementary
#DCA1EA #D4EAA1 #A1EAB7
monochromatic
#B73DD4 #C96FDF #DCA1EA #EFD3F5 #F6E6F9

Accessibility & contrast

On white

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

On black

10.33
#DCA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1EA
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1EA#FFFFFF#000000##000000
##DCA1EA1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2ED
Deuteranopia (green-blind)
#A6B8E8
Tritanopia (blue-blind)
#DDA9BB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dca1ea;
/* rgb */ color: rgb(220, 161, 234);
/* oklch */ color: oklch(78.9% 0.119 319.8);
Tailwind
colors: {
  custom: {
    50: '#e7bdf1',
    500: '#dca1ea',
    950: '#000000',
  },
}
SCSS
$custom: #dca1ea;
$custom-light: #e7bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1ea",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 288.493,
    "s": 63.478,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78908,
    "c": 0.11899,
    "h": 319.8
  },
  "luminance": 0.46646
}

Semantic roles & 50–950 ramp

primary
#DCA1EA
secondary
#DFF1DA
accent
#CB1A3C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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