#DCA2DF#DCA2DF

#DCA2DF is a light, moderate purple. Relative luminance 0.464; OKLCH L 78.6% C 0.106 H 324.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#DCA2DF
RGBrgb(220, 162, 223)
HSLhsl(297, 49%, 75%)
HSVhsv(297, 27%, 87%)
CMYKcmyk(1.3%, 27.4%, 0%, 12.5%)
CIE-LABlab(73.80, 31.50, -22.45)
CIE-LCHlch(73.80, 38.68, 324.53°)
OKLaboklab(78.65% 0.0864 -0.0607)
OKLCHoklch(78.65% 0.106 324.9)
XYZxyz(55.7534, 46.3857, 75.8141)
Luminance0.4638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2DF #A5DFA2
analogous
#BDA2DF #DCA2DF #DFA2C3
triadic
#DCA2DF #DFDCA2 #A2DFDC
tetradic
#DCA2DF #DFBDA2 #A5DFA2 #A2C3DF
square
#DCA2DF #DFBDA2 #A5DFA2 #A2C3DF
split-complementary
#DCA2DF #C3DFA2 #A2DFBD
monochromatic
#BA47C0 #CB74CF #DCA2DF #EDD0EF #F6E8F7

Accessibility & contrast

On white

2.04
#DCA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#DCA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2DF
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2DF#FFFFFF#000000##000000
##DCA2DF1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB1E1
Deuteranopia (green-blind)
#ABB8DD
Tritanopia (blue-blind)
#DFA8B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dca2df;
/* rgb */ color: rgb(220, 162, 223);
/* oklch */ color: oklch(78.6% 0.106 324.9);
Tailwind
colors: {
  custom: {
    50: '#e7bee9',
    500: '#dca2df',
    950: '#000000',
  },
}
SCSS
$custom: #dca2df;
$custom-light: #e7bee9;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2df",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 297.049,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7865,
    "c": 0.10558,
    "h": 324.9
  },
  "luminance": 0.46384
}

Semantic roles & 50–950 ramp

primary
#DCA2DF
secondary
#DEEEDD
accent
#BC2931
background
#FEFBFE
surface
#FCF7FC
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DCA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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