#DCA5FB#DCA5FB

#DCA5FB is a light, vivid violet. Relative luminance 0.491; OKLCH L 80.3% C 0.131 H 312.8°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#DCA5FB
RGBrgb(220, 165, 251)
HSLhsl(278, 91%, 82%)
HSVhsv(278, 34%, 98%)
CMYKcmyk(12.4%, 34.3%, 0%, 1.6%)
CIE-LABlab(75.51, 35.39, -35.03)
CIE-LCHlch(75.51, 49.79, 315.29°)
OKLaboklab(80.3% 0.0893 -0.0963)
OKLCHoklch(80.3% 0.131 312.8)
XYZxyz(60.3800, 49.0920, 97.5430)
Luminance0.4909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA5FB #C4FBA5
analogous
#B1A5FB #DCA5FB #FBA5EF
triadic
#DCA5FB #FBDCA5 #A5FBDC
tetradic
#DCA5FB #FBB1A5 #C4FBA5 #A5EFFB
square
#DCA5FB #FBB1A5 #C4FBA5 #A5EFFB
split-complementary
#DCA5FB #EFFBA5 #A5FBB1
monochromatic
#AE30F6 #C56AF8 #DCA5FB #F3E0FE #F4E2FE

Accessibility & contrast

On white

1.94
#DCA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#DCA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA5FB
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA5FB#FFFFFF#000000##000000
##DCA5FB1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#A3BBF8
Tritanopia (blue-blind)
#D9B0C5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca5fb;
/* rgb */ color: rgb(220, 165, 251);
/* oklch */ color: oklch(80.3% 0.131 312.8);
Tailwind
colors: {
  custom: {
    50: '#e8c0fd',
    500: '#dca5fb',
    950: '#000000',
  },
}
SCSS
$custom: #dca5fb;
$custom-light: #e8c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dca5fb",
  "rgb": {
    "r": 220,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 278.372,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80295,
    "c": 0.1313,
    "h": 312.8
  },
  "luminance": 0.49091
}

Semantic roles & 50–950 ramp

primary
#DCA5FB
secondary
#E1F6D5
accent
#E60053
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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