#DCA7DF#DCA7DF

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

Color values

HEX#DCA7DF
RGBrgb(220, 167, 223)
HSLhsl(297, 47%, 76%)
HSVhsv(297, 25%, 87%)
CMYKcmyk(1.3%, 25.1%, 0%, 12.5%)
CIE-LABlab(74.94, 28.80, -20.71)
CIE-LCHlch(74.94, 35.48, 324.29°)
OKLaboklab(79.52% 0.0789 -0.0559)
OKLCHoklch(79.52% 0.097 324.7)
XYZxyz(56.6517, 48.1823, 76.1136)
Luminance0.4818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7DF #AADFA7
analogous
#C0A7DF #DCA7DF #DFA7C6
triadic
#DCA7DF #DFDCA7 #A7DFDC
tetradic
#DCA7DF #DFC0A7 #AADFA7 #A7C6DF
square
#DCA7DF #DFC0A7 #AADFA7 #A7C6DF
split-complementary
#DCA7DF #C6DFA7 #A7DFC0
monochromatic
#B84DBE #CA7ACF #DCA7DF #EED4EF #F6E9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCA7DF#FFFFFF#000000##000000
##DCA7DF1.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)
#A3B4E1
Deuteranopia (green-blind)
#AFBBDD
Tritanopia (blue-blind)
#DFACBB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca7df;
/* rgb */ color: rgb(220, 167, 223);
/* oklch */ color: oklch(79.5% 0.097 324.7);
Tailwind
colors: {
  custom: {
    50: '#e7c1e9',
    500: '#dca7df',
    950: '#000000',
  },
}
SCSS
$custom: #dca7df;
$custom-light: #e7c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7df",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 296.786,
    "s": 46.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79524,
    "c": 0.09669,
    "h": 324.7
  },
  "luminance": 0.48181
}

Semantic roles & 50–950 ramp

primary
#DCA7DF
secondary
#DEEEDD
accent
#BA2C33
background
#FEFBFE
surface
#FCF7FC
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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