#DCA7FD#DCA7FD

#DCA7FD is a light, vivid violet. Relative luminance 0.499; OKLCH L 80.7% C 0.130 H 311.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#DCA7FD
RGBrgb(220, 167, 253)
HSLhsl(277, 96%, 82%)
HSVhsv(277, 34%, 99%)
CMYKcmyk(13%, 34%, 0%, 0.8%)
CIE-LABlab(76.04, 34.72, -35.29)
CIE-LCHlch(76.04, 49.51, 314.54°)
OKLaboklab(80.72% 0.0869 -0.097)
OKLCHoklch(80.72% 0.13 311.8)
XYZxyz(61.0605, 49.9458, 99.3333)
Luminance0.4995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7FD #C8FDA7
analogous
#B1A7FD #DCA7FD #FDA7F3
triadic
#DCA7FD #FDDCA7 #A7FDDC
tetradic
#DCA7FD #FDB1A7 #C8FDA7 #A7F3FD
square
#DCA7FD #FDB1A7 #C8FDA7 #A7F3FD
split-complementary
#DCA7FD #F3FDA7 #A7FDB1
monochromatic
#AC2FFA #C46BFC #DCA7FD #F3E1FE #F3E1FE

Accessibility & contrast

On white

1.91
#DCA7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#DCA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7FD
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7FD#FFFFFF#000000##000000
##DCA7FD1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A4BDFA
Tritanopia (blue-blind)
#D9B3C7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dca7fd;
/* rgb */ color: rgb(220, 167, 253);
/* oklch */ color: oklch(80.7% 0.130 311.8);
Tailwind
colors: {
  custom: {
    50: '#e8c1fe',
    500: '#dca7fd',
    950: '#000000',
  },
}
SCSS
$custom: #dca7fd;
$custom-light: #e8c1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7fd",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 276.977,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80722,
    "c": 0.13026,
    "h": 311.8
  },
  "luminance": 0.49945
}

Semantic roles & 50–950 ramp

primary
#DCA7FD
secondary
#E2F7D4
accent
#E60058
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DCA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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