#DCA1FB#DCA1FB

#DCA1FB is a light, vivid violet. Relative luminance 0.477; OKLCH L 79.6% C 0.138 H 313.5°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#DCA1FB
RGBrgb(220, 161, 251)
HSLhsl(279, 92%, 81%)
HSVhsv(279, 36%, 98%)
CMYKcmyk(12.4%, 35.9%, 0%, 1.6%)
CIE-LABlab(74.62, 37.54, -36.41)
CIE-LCHlch(74.62, 52.29, 315.88°)
OKLaboklab(79.62% 0.095 -0.1002)
OKLCHoklch(79.62% 0.138 313.5)
XYZxyz(59.6698, 47.6715, 97.3062)
Luminance0.4767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1FB #C0FBA1
analogous
#AFA1FB #DCA1FB #FBA1ED
triadic
#DCA1FB #FBDCA1 #A1FBDC
tetradic
#DCA1FB #FBAFA1 #C0FBA1 #A1EDFB
square
#DCA1FB #FBAFA1 #C0FBA1 #A1EDFB
split-complementary
#DCA1FB #EDFBA1 #A1FBAF
monochromatic
#B02CF6 #C666F9 #DCA1FB #F2DCFD #F4E2FE

Accessibility & contrast

On white

1.99
#DCA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#DCA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1FB
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1FB#FFFFFF#000000##000000
##DCA1FB1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FE
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#DAADC3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca1fb;
/* rgb */ color: rgb(220, 161, 251);
/* oklch */ color: oklch(79.6% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#e8bdfd',
    500: '#dca1fb',
    950: '#000000',
  },
}
SCSS
$custom: #dca1fb;
$custom-light: #e8bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1fb",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 279.333,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.7962,
    "c": 0.13804,
    "h": 313.5
  },
  "luminance": 0.4767
}

Semantic roles & 50–950 ramp

primary
#DCA1FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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