#DCA2FF#DCA2FF

#DCA2FF is a light, vivid violet. Relative luminance 0.483; OKLCH L 80.0% C 0.141 H 312.1°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#DCA2FF
RGBrgb(220, 162, 255)
HSLhsl(277, 100%, 82%)
HSVhsv(277, 36%, 100%)
CMYKcmyk(13.7%, 36.5%, 0%, 0%)
CIE-LABlab(75.00, 37.83, -37.98)
CIE-LCHlch(75.00, 53.60, 314.89°)
OKLaboklab(79.96% 0.0944 -0.1047)
OKLCHoklch(79.96% 0.141 312.1)
XYZxyz(60.4825, 48.2773, 100.7206)
Luminance0.4828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2FF #C5FFA2
analogous
#AEA2FF #DCA2FF #FFA2F4
triadic
#DCA2FF #FFDCA2 #A2FFDC
tetradic
#DCA2FF #FFAEA2 #C5FFA2 #A2F4FF
square
#DCA2FF #FFAEA2 #C5FFA2 #A2F4FF
split-complementary
#DCA2FF #F4FFA2 #A2FFAE
monochromatic
#AE28FF #C565FF #DCA2FF #F3DFFF #F3E0FF

Accessibility & contrast

On white

1.97
#DCA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#DCA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2FF
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2FF#FFFFFF#000000##000000
##DCA2FF1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B6FF
Deuteranopia (green-blind)
#9FBAFC
Tritanopia (blue-blind)
#D9AFC5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dca2ff;
/* rgb */ color: rgb(220, 162, 255);
/* oklch */ color: oklch(80.0% 0.141 312.1);
Tailwind
colors: {
  custom: {
    50: '#e8beff',
    500: '#dca2ff',
    950: '#000000',
  },
}
SCSS
$custom: #dca2ff;
$custom-light: #e8beff;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2ff",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 277.419,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79962,
    "c": 0.14097,
    "h": 312.1
  },
  "luminance": 0.48276
}

Semantic roles & 50–950 ramp

primary
#DCA2FF
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DCA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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