#DCA1FF#DCA1FF

#DCA1FF is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.8% C 0.143 H 312.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#DCA1FF
RGBrgb(220, 161, 255)
HSLhsl(278, 100%, 82%)
HSVhsv(278, 37%, 100%)
CMYKcmyk(13.7%, 36.9%, 0%, 0%)
CIE-LABlab(74.78, 38.36, -38.32)
CIE-LCHlch(74.78, 54.22, 315.03°)
OKLaboklab(79.8% 0.0958 -0.1057)
OKLCHoklch(79.8% 0.143 312.2)
XYZxyz(60.3070, 47.9264, 100.6621)
Luminance0.4793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1FF #C4FFA1
analogous
#ADA1FF #DCA1FF #FFA1F3
triadic
#DCA1FF #FFDCA1 #A1FFDC
tetradic
#DCA1FF #FFADA1 #C4FFA1 #A1F3FF
square
#DCA1FF #FFADA1 #C4FFA1 #A1F3FF
split-complementary
#DCA1FF #F3FFA1 #A1FFAD
monochromatic
#AE27FF #C564FF #DCA1FF #F3DEFF #F4E0FF

Accessibility & contrast

On white

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

On black

10.59
#DCA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1FF
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1FF#FFFFFF#000000##000000
##DCA1FF1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#9EB9FC
Tritanopia (blue-blind)
#D9AEC4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca1ff;
/* rgb */ color: rgb(220, 161, 255);
/* oklch */ color: oklch(79.8% 0.143 312.2);
Tailwind
colors: {
  custom: {
    50: '#e8bdff',
    500: '#dca1ff',
    950: '#000000',
  },
}
SCSS
$custom: #dca1ff;
$custom-light: #e8bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1ff",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 277.66,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79795,
    "c": 0.14264,
    "h": 312.2
  },
  "luminance": 0.47925
}

Semantic roles & 50–950 ramp

primary
#DCA1FF
secondary
#E1F7D4
accent
#E60055
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DCA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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