#DCA0EF#DCA0EF

#DCA0EF is a light, vivid purple. Relative luminance 0.466; OKLCH L 78.9% C 0.126 H 317.9°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#DCA0EF
RGBrgb(220, 160, 239)
HSLhsl(286, 71%, 78%)
HSVhsv(286, 33%, 94%)
CMYKcmyk(7.9%, 33.1%, 0%, 6.3%)
CIE-LABlab(73.93, 35.66, -30.97)
CIE-LCHlch(73.93, 47.23, 319.03°)
OKLaboklab(78.94% 0.0936 -0.0847)
OKLCHoklch(78.94% 0.126 317.9)
XYZxyz(57.6638, 46.5906, 87.5999)
Luminance0.4659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA0EF #B3EFA0
analogous
#B4A0EF #DCA0EF #EFA0DA
triadic
#DCA0EF #EFDCA0 #A0EFDC
tetradic
#DCA0EF #EFB4A0 #B3EFA0 #A0DAEF
square
#DCA0EF #EFB4A0 #B3EFA0 #A0DAEF
split-complementary
#DCA0EF #DAEFA0 #A0EFB4
monochromatic
#B537DD #C96CE6 #DCA0EF #EFD4F8 #F5E5FB

Accessibility & contrast

On white

2.04
#DCA0EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#DCA0EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA0EF
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA0EF#FFFFFF#000000##000000
##DCA0EF1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F2
Deuteranopia (green-blind)
#A3B8ED
Tritanopia (blue-blind)
#DCA9BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dca0ef;
/* rgb */ color: rgb(220, 160, 239);
/* oklch */ color: oklch(78.9% 0.126 317.9);
Tailwind
colors: {
  custom: {
    50: '#e8bdf4',
    500: '#dca0ef',
    950: '#000000',
  },
}
SCSS
$custom: #dca0ef;
$custom-light: #e8bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#dca0ef",
  "rgb": {
    "r": 220,
    "g": 160,
    "b": 239
  },
  "hsl": {
    "h": 285.57,
    "s": 71.171,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78942,
    "c": 0.12622,
    "h": 317.9
  },
  "luminance": 0.46589
}

Semantic roles & 50–950 ramp

primary
#DCA0EF
secondary
#DFF2D9
accent
#D31241
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA0EF

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

Preview Lab → · Contrast checker → · Palette generator →

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