#DCA8EB#DCA8EB

#DCA8EB is a light, moderate purple. Relative luminance 0.492; OKLCH L 80.2% C 0.108 H 318.5°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#DCA8EB
RGBrgb(220, 168, 235)
HSLhsl(287, 63%, 79%)
HSVhsv(287, 29%, 92%)
CMYKcmyk(6.4%, 28.5%, 0%, 7.8%)
CIE-LABlab(75.59, 30.56, -26.24)
CIE-LCHlch(75.59, 40.28, 319.35°)
OKLaboklab(80.16% 0.0809 -0.0714)
OKLCHoklch(80.16% 0.108 318.5)
XYZxyz(58.5111, 49.2203, 84.9993)
Luminance0.4922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA8EB #B7EBA8
analogous
#BBA8EB #DCA8EB #EBA8D9
triadic
#DCA8EB #EBDCA8 #A8EBDC
tetradic
#DCA8EB #EBBBA8 #B7EBA8 #A8D9EB
square
#DCA8EB #EBBBA8 #B7EBA8 #A8D9EB
split-complementary
#DCA8EB #D9EBA8 #A8EBBB
monochromatic
#B444D4 #C876E0 #DCA8EB #F0DAF6 #F5E6F9

Accessibility & contrast

On white

1.94
#DCA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#DCA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA8EB
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA8EB#FFFFFF#000000##000000
##DCA8EB1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B7EE
Deuteranopia (green-blind)
#ACBCE9
Tritanopia (blue-blind)
#DDAFC0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca8eb;
/* rgb */ color: rgb(220, 168, 235);
/* oklch */ color: oklch(80.2% 0.108 318.5);
Tailwind
colors: {
  custom: {
    50: '#e7c2f1',
    500: '#dca8eb',
    950: '#000000',
  },
}
SCSS
$custom: #dca8eb;
$custom-light: #e7c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dca8eb",
  "rgb": {
    "r": 220,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 286.567,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80158,
    "c": 0.10788,
    "h": 318.5
  },
  "luminance": 0.49219
}

Semantic roles & 50–950 ramp

primary
#DCA8EB
secondary
#DFF1DA
accent
#CA1B42
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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