#DCA6EF#DCA6EF

#DCA6EF is a light, moderate purple. Relative luminance 0.487; OKLCH L 80.0% C 0.116 H 317.1°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#DCA6EF
RGBrgb(220, 166, 239)
HSLhsl(284, 70%, 79%)
HSVhsv(284, 31%, 94%)
CMYKcmyk(7.9%, 30.5%, 0%, 6.3%)
CIE-LABlab(75.28, 32.43, -28.89)
CIE-LCHlch(75.28, 43.43, 318.30°)
OKLaboklab(79.97% 0.0849 -0.0789)
OKLCHoklch(79.97% 0.116 317.1)
XYZxyz(58.7291, 48.7213, 87.9550)
Luminance0.4872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA6EF #B9EFA6
analogous
#B8A6EF #DCA6EF #EFA6DD
triadic
#DCA6EF #EFDCA6 #A6EFDC
tetradic
#DCA6EF #EFB8A6 #B9EFA6 #A6DDEF
square
#DCA6EF #EFB8A6 #B9EFA6 #A6DDEF
split-complementary
#DCA6EF #DDEFA6 #A6EFB8
monochromatic
#B33EDC #C872E6 #DCA6EF #F0DAF8 #F5E5FA

Accessibility & contrast

On white

1.95
#DCA6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#DCA6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA6EF
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA6EF#FFFFFF#000000##000000
##DCA6EF1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F2
Deuteranopia (green-blind)
#A9BBED
Tritanopia (blue-blind)
#DCAFC0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dca6ef;
/* rgb */ color: rgb(220, 166, 239);
/* oklch */ color: oklch(80.0% 0.116 317.1);
Tailwind
colors: {
  custom: {
    50: '#e7c1f4',
    500: '#dca6ef',
    950: '#000000',
  },
}
SCSS
$custom: #dca6ef;
$custom-light: #e7c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dca6ef",
  "rgb": {
    "r": 220,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 284.384,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79969,
    "c": 0.11584,
    "h": 317.1
  },
  "luminance": 0.4872
}

Semantic roles & 50–950 ramp

primary
#DCA6EF
secondary
#E0F2D9
accent
#D21445
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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