#DCA2FD#DCA2FD

#DCA2FD is a light, vivid violet. Relative luminance 0.481; OKLCH L 79.9% C 0.139 H 312.7°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#DCA2FD
RGBrgb(220, 162, 253)
HSLhsl(278, 96%, 81%)
HSVhsv(278, 36%, 99%)
CMYKcmyk(13%, 36%, 0%, 0.8%)
CIE-LABlab(74.92, 37.41, -37.02)
CIE-LCHlch(74.92, 52.63, 315.30°)
OKLaboklab(79.87% 0.094 -0.1019)
OKLCHoklch(79.87% 0.139 312.7)
XYZxyz(60.1622, 48.1492, 99.0339)
Luminance0.4815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2FD #C3FDA2
analogous
#AFA2FD #DCA2FD #FDA2F0
triadic
#DCA2FD #FDDCA2 #A2FDDC
tetradic
#DCA2FD #FDAFA2 #C3FDA2 #A2F0FD
square
#DCA2FD #FDAFA2 #C3FDA2 #A2F0FD
split-complementary
#DCA2FD #F0FDA2 #A2FDAF
monochromatic
#AF2AFA #C566FC #DCA2FD #F3DEFE #F4E1FE

Accessibility & contrast

On white

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

On black

10.63
#DCA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2FD
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2FD#FFFFFF#000000##000000
##DCA2FD1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#A0BAFA
Tritanopia (blue-blind)
#D9AEC4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca2fd;
/* rgb */ color: rgb(220, 162, 253);
/* oklch */ color: oklch(79.9% 0.139 312.7);
Tailwind
colors: {
  custom: {
    50: '#e8befe',
    500: '#dca2fd',
    950: '#000000',
  },
}
SCSS
$custom: #dca2fd;
$custom-light: #e8befe;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2fd",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 278.242,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.13866,
    "h": 312.7
  },
  "luminance": 0.48148
}

Semantic roles & 50–950 ramp

primary
#DCA2FD
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DCA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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