#DCA2EF#DCA2EF

#DCA2EF is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.3% C 0.123 H 317.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#DCA2EF
RGBrgb(220, 162, 239)
HSLhsl(285, 71%, 79%)
HSVhsv(285, 32%, 94%)
CMYKcmyk(7.9%, 32.2%, 0%, 6.3%)
CIE-LABlab(74.37, 34.58, -30.28)
CIE-LCHlch(74.37, 45.97, 318.80°)
OKLaboklab(79.28% 0.0907 -0.0828)
OKLCHoklch(79.28% 0.123 317.6)
XYZxyz(58.0133, 47.2896, 87.7164)
Luminance0.4729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2EF #B5EFA2
analogous
#B5A2EF #DCA2EF #EFA2DB
triadic
#DCA2EF #EFDCA2 #A2EFDC
tetradic
#DCA2EF #EFB5A2 #B5EFA2 #A2DBEF
square
#DCA2EF #EFB5A2 #B5EFA2 #A2DBEF
split-complementary
#DCA2EF #DBEFA2 #A2EFB5
monochromatic
#B53ADD #C86EE6 #DCA2EF #F0D6F8 #F5E5FB

Accessibility & contrast

On white

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

On black

10.46
#DCA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2EF
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2EF#FFFFFF#000000##000000
##DCA2EF1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F2
Deuteranopia (green-blind)
#A5B9ED
Tritanopia (blue-blind)
#DCABBE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca2ef;
/* rgb */ color: rgb(220, 162, 239);
/* oklch */ color: oklch(79.3% 0.123 317.6);
Tailwind
colors: {
  custom: {
    50: '#e8bef4',
    500: '#dca2ef',
    950: '#000000',
  },
}
SCSS
$custom: #dca2ef;
$custom-light: #e8bef4;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2ef",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 285.195,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79282,
    "c": 0.12276,
    "h": 317.6
  },
  "luminance": 0.47288
}

Semantic roles & 50–950 ramp

primary
#DCA2EF
secondary
#DFF2D9
accent
#D31342
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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