#DCA5EC#DCA5EC

#DCA5EC is a light, moderate purple. Relative luminance 0.482; OKLCH L 79.7% C 0.114 H 318.5°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#DCA5EC
RGBrgb(220, 165, 236)
HSLhsl(286, 65%, 79%)
HSVhsv(286, 30%, 93%)
CMYKcmyk(6.8%, 30.1%, 0%, 7.5%)
CIE-LABlab(74.94, 32.38, -27.78)
CIE-LCHlch(74.94, 42.66, 319.37°)
OKLaboklab(79.68% 0.0855 -0.0757)
OKLCHoklch(79.68% 0.114 318.5)
XYZxyz(58.1086, 48.1834, 85.5799)
Luminance0.4818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA5EC #B5ECA5
analogous
#B8A5EC #DCA5EC #ECA5D8
triadic
#DCA5EC #ECDCA5 #A5ECDC
tetradic
#DCA5EC #ECB8A5 #B5ECA5 #A5D8EC
square
#DCA5EC #ECB8A5 #B5ECA5 #A5D8EC
split-complementary
#DCA5EC #D8ECA5 #A5ECB8
monochromatic
#B540D7 #C872E1 #DCA5EC #F0D8F7 #F5E6FA

Accessibility & contrast

On white

1.97
#DCA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#DCA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA5EC
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA5EC#FFFFFF#000000##000000
##DCA5EC1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB5EF
Deuteranopia (green-blind)
#A9BAEA
Tritanopia (blue-blind)
#DDADBF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca5ec;
/* rgb */ color: rgb(220, 165, 236);
/* oklch */ color: oklch(79.7% 0.114 318.5);
Tailwind
colors: {
  custom: {
    50: '#e7c0f2',
    500: '#dca5ec',
    950: '#000000',
  },
}
SCSS
$custom: #dca5ec;
$custom-light: #e7c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dca5ec",
  "rgb": {
    "r": 220,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 286.479,
    "s": 65.138,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79676,
    "c": 0.11422,
    "h": 318.5
  },
  "luminance": 0.48182
}

Semantic roles & 50–950 ramp

primary
#DCA5EC
secondary
#DFF1DA
accent
#CD1941
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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