#DCA1EF#DCA1EF

#DCA1EF is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.1% C 0.124 H 317.7°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#DCA1EF
RGBrgb(220, 161, 239)
HSLhsl(285, 71%, 78%)
HSVhsv(285, 33%, 94%)
CMYKcmyk(7.9%, 32.6%, 0%, 6.3%)
CIE-LABlab(74.15, 35.12, -30.62)
CIE-LCHlch(74.15, 46.60, 318.92°)
OKLaboklab(79.11% 0.0921 -0.0837)
OKLCHoklch(79.11% 0.124 317.7)
XYZxyz(57.8378, 46.9387, 87.6579)
Luminance0.4694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1EF #B4EFA1
analogous
#B5A1EF #DCA1EF #EFA1DB
triadic
#DCA1EF #EFDCA1 #A1EFDC
tetradic
#DCA1EF #EFB5A1 #B4EFA1 #A1DBEF
square
#DCA1EF #EFB5A1 #B4EFA1 #A1DBEF
split-complementary
#DCA1EF #DBEFA1 #A1EFB5
monochromatic
#B538DD #C96DE6 #DCA1EF #EFD5F8 #F5E5FB

Accessibility & contrast

On white

2.02
#DCA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#DCA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1EF
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1EF#FFFFFF#000000##000000
##DCA1EF1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2F2
Deuteranopia (green-blind)
#A4B8ED
Tritanopia (blue-blind)
#DCAABE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dca1ef;
/* rgb */ color: rgb(220, 161, 239);
/* oklch */ color: oklch(79.1% 0.124 317.7);
Tailwind
colors: {
  custom: {
    50: '#e8bdf4',
    500: '#dca1ef',
    950: '#000000',
  },
}
SCSS
$custom: #dca1ef;
$custom-light: #e8bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1ef",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 285.385,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79112,
    "c": 0.12449,
    "h": 317.7
  },
  "luminance": 0.46937
}

Semantic roles & 50–950 ramp

primary
#DCA1EF
secondary
#DFF2D9
accent
#D31341
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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