#DCA1FA#DCA1FA

#DCA1FA is a light, vivid violet. Relative luminance 0.476; OKLCH L 79.6% C 0.137 H 313.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#DCA1FA
RGBrgb(220, 161, 250)
HSLhsl(280, 90%, 81%)
HSVhsv(280, 36%, 98%)
CMYKcmyk(12%, 35.6%, 0%, 2%)
CIE-LABlab(74.58, 37.33, -35.93)
CIE-LCHlch(74.58, 51.81, 316.10°)
OKLaboklab(79.58% 0.0947 -0.0988)
OKLCHoklch(79.58% 0.137 313.8)
XYZxyz(59.5126, 47.6086, 96.4783)
Luminance0.4761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1FA #BFFAA1
analogous
#AFA1FA #DCA1FA #FAA1EC
triadic
#DCA1FA #FADCA1 #A1FADC
tetradic
#DCA1FA #FAAFA1 #BFFAA1 #A1ECFA
square
#DCA1FA #FAAFA1 #BFFAA1 #A1ECFA
split-complementary
#DCA1FA #ECFAA1 #A1FAAF
monochromatic
#B12DF4 #C667F7 #DCA1FA #F2DBFD #F4E2FD

Accessibility & contrast

On white

2.00
#DCA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#DCA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1FA
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1FA#FFFFFF#000000##000000
##DCA1FA1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#DAADC2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca1fa;
/* rgb */ color: rgb(220, 161, 250);
/* oklch */ color: oklch(79.6% 0.137 313.8);
Tailwind
colors: {
  custom: {
    50: '#e8bdfc',
    500: '#dca1fa',
    950: '#000000',
  },
}
SCSS
$custom: #dca1fa;
$custom-light: #e8bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1fa",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 279.775,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79576,
    "c": 0.1369,
    "h": 313.8
  },
  "luminance": 0.47608
}

Semantic roles & 50–950 ramp

primary
#DCA1FA
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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