#DCA7DC#DCA7DC

#DCA7DC is a light, moderate purple. Relative luminance 0.480; OKLCH L 79.4% C 0.094 H 326.4°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#DCA7DC
RGBrgb(220, 167, 220)
HSLhsl(300, 43%, 76%)
HSVhsv(300, 24%, 86%)
CMYKcmyk(0%, 24.1%, 0%, 13.7%)
CIE-LABlab(74.84, 28.24, -19.22)
CIE-LCHlch(74.84, 34.17, 325.76°)
OKLaboklab(79.41% 0.078 -0.0518)
OKLCHoklch(79.41% 0.094 326.4)
XYZxyz(56.2508, 48.0220, 74.0023)
Luminance0.4802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7DC #A7DCA7
analogous
#C1A7DC #DCA7DC #DCA7C1
triadic
#DCA7DC #DCDCA7 #A7DCDC
tetradic
#DCA7DC #DCC1A7 #A7DCA7 #A7C1DC
square
#DCA7DC #DCC1A7 #A7DCA7 #A7C1DC
split-complementary
#DCA7DC #C1DCA7 #A7DCC1
monochromatic
#B94FB9 #CB7BCB #DCA7DC #EDD3ED #F6E9F6

Accessibility & contrast

On white

1.98
#DCA7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#DCA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7DC
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7DC#FFFFFF#000000##000000
##DCA7DC1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B4DE
Deuteranopia (green-blind)
#B0BBDA
Tritanopia (blue-blind)
#DFABB9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca7dc;
/* rgb */ color: rgb(220, 167, 220);
/* oklch */ color: oklch(79.4% 0.094 326.4);
Tailwind
colors: {
  custom: {
    50: '#e7c1e7',
    500: '#dca7dc',
    950: '#000000',
  },
}
SCSS
$custom: #dca7dc;
$custom-light: #e7c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7dc",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 43.089,
    "l": 75.882
  },
  "oklch": {
    "l": 0.79414,
    "c": 0.09362,
    "h": 326.4
  },
  "luminance": 0.4802
}

Semantic roles & 50–950 ramp

primary
#DCA7DC
secondary
#DEEDDE
accent
#B62F2F
background
#FEFBFE
surface
#FCF7FC
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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