#DCA6FA#DCA6FA

#DCA6FA is a light, vivid violet. Relative luminance 0.494; OKLCH L 80.4% C 0.128 H 313.0°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#DCA6FA
RGBrgb(220, 166, 250)
HSLhsl(279, 89%, 82%)
HSVhsv(279, 34%, 98%)
CMYKcmyk(12%, 33.6%, 0%, 2%)
CIE-LABlab(75.69, 34.65, -34.20)
CIE-LCHlch(75.69, 48.68, 315.37°)
OKLaboklab(80.42% 0.0876 -0.0939)
OKLCHoklch(80.42% 0.128 313)
XYZxyz(60.4039, 49.3912, 96.7754)
Luminance0.4939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA6FA #C4FAA6
analogous
#B2A6FA #DCA6FA #FAA6EE
triadic
#DCA6FA #FADCA6 #A6FADC
tetradic
#DCA6FA #FAB2A6 #C4FAA6 #A6EEFA
square
#DCA6FA #FAB2A6 #C4FAA6 #A6EEFA
split-complementary
#DCA6FA #EEFAA6 #A6FAB2
monochromatic
#AE32F3 #C56CF7 #DCA6FA #F3E0FD #F4E2FD

Accessibility & contrast

On white

1.93
#DCA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#DCA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA6FA
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA6FA#FFFFFF#000000##000000
##DCA6FA1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FD
Deuteranopia (green-blind)
#A4BCF7
Tritanopia (blue-blind)
#DAB1C5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca6fa;
/* rgb */ color: rgb(220, 166, 250);
/* oklch */ color: oklch(80.4% 0.128 313.0);
Tailwind
colors: {
  custom: {
    50: '#e8c1fc',
    500: '#dca6fa',
    950: '#000000',
  },
}
SCSS
$custom: #dca6fa;
$custom-light: #e8c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dca6fa",
  "rgb": {
    "r": 220,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 278.571,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80424,
    "c": 0.12844,
    "h": 313
  },
  "luminance": 0.4939
}

Semantic roles & 50–950 ramp

primary
#DCA6FA
secondary
#E1F5D6
accent
#E60052
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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