#DCA7EB#DCA7EB

#DCA7EB is a light, moderate purple. Relative luminance 0.489; OKLCH L 80.0% C 0.110 H 318.7°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#DCA7EB
RGBrgb(220, 167, 235)
HSLhsl(287, 63%, 79%)
HSVhsv(287, 29%, 92%)
CMYKcmyk(6.4%, 28.9%, 0%, 7.8%)
CIE-LABlab(75.36, 31.10, -26.59)
CIE-LCHlch(75.36, 40.92, 319.47°)
OKLaboklab(79.98% 0.0823 -0.0724)
OKLCHoklch(79.98% 0.11 318.7)
XYZxyz(58.3272, 48.8525, 84.9380)
Luminance0.4885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7EB #B6EBA7
analogous
#BAA7EB #DCA7EB #EBA7D8
triadic
#DCA7EB #EBDCA7 #A7EBDC
tetradic
#DCA7EB #EBBAA7 #B6EBA7 #A7D8EB
square
#DCA7EB #EBBAA7 #B6EBA7 #A7D8EB
split-complementary
#DCA7EB #D8EBA7 #A7EBBA
monochromatic
#B443D4 #C875E0 #DCA7EB #F0D9F6 #F5E6F9

Accessibility & contrast

On white

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

On black

10.77
#DCA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7EB
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7EB#FFFFFF#000000##000000
##DCA7EB1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB6EE
Deuteranopia (green-blind)
#ABBBE9
Tritanopia (blue-blind)
#DDAFBF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca7eb;
/* rgb */ color: rgb(220, 167, 235);
/* oklch */ color: oklch(80.0% 0.110 318.7);
Tailwind
colors: {
  custom: {
    50: '#e7c1f1',
    500: '#dca7eb',
    950: '#000000',
  },
}
SCSS
$custom: #dca7eb;
$custom-light: #e7c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7eb",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 286.765,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79984,
    "c": 0.10962,
    "h": 318.7
  },
  "luminance": 0.48851
}

Semantic roles & 50–950 ramp

primary
#DCA7EB
secondary
#DFF1DA
accent
#CB1B42
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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