#DCA5FF#DCA5FF

#DCA5FF is a light, vivid violet. Relative luminance 0.493; OKLCH L 80.5% C 0.136 H 311.6°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#DCA5FF
RGBrgb(220, 165, 255)
HSLhsl(277, 100%, 82%)
HSVhsv(277, 35%, 100%)
CMYKcmyk(13.7%, 35.3%, 0%, 0%)
CIE-LABlab(75.67, 36.21, -36.94)
CIE-LCHlch(75.67, 51.73, 314.43°)
OKLaboklab(80.47% 0.0902 -0.1017)
OKLCHoklch(80.47% 0.136 311.6)
XYZxyz(61.0172, 49.3468, 100.8989)
Luminance0.4935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA5FF #C8FFA5
analogous
#AFA5FF #DCA5FF #FFA5F5
triadic
#DCA5FF #FFDCA5 #A5FFDC
tetradic
#DCA5FF #FFAFA5 #C8FFA5 #A5F5FF
square
#DCA5FF #FFAFA5 #C8FFA5 #A5F5FF
split-complementary
#DCA5FF #F5FFA5 #A5FFAF
monochromatic
#AC2BFF #C468FF #DCA5FF #F3E0FF #F3E0FF

Accessibility & contrast

On white

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

On black

10.87
#DCA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA5FF
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA5FF#FFFFFF#000000##000000
##DCA5FF1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#A1BCFC
Tritanopia (blue-blind)
#D9B1C6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca5ff;
/* rgb */ color: rgb(220, 165, 255);
/* oklch */ color: oklch(80.5% 0.136 311.6);
Tailwind
colors: {
  custom: {
    50: '#e8c0ff',
    500: '#dca5ff',
    950: '#000000',
  },
}
SCSS
$custom: #dca5ff;
$custom-light: #e8c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dca5ff",
  "rgb": {
    "r": 220,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 276.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.13595,
    "h": 311.6
  },
  "luminance": 0.49346
}

Semantic roles & 50–950 ramp

primary
#DCA5FF
secondary
#E2F7D4
accent
#E60059
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DCA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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