#DCA1F2#DCA1F2

#DCA1F2 is a light, vivid purple. Relative luminance 0.471; OKLCH L 79.2% C 0.128 H 316.6°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#DCA1F2
RGBrgb(220, 161, 242)
HSLhsl(284, 76%, 79%)
HSVhsv(284, 33%, 95%)
CMYKcmyk(9.1%, 33.5%, 0%, 5.1%)
CIE-LABlab(74.26, 35.72, -32.08)
CIE-LCHlch(74.26, 48.01, 318.08°)
OKLaboklab(79.24% 0.0929 -0.0878)
OKLCHoklch(79.24% 0.128 316.6)
XYZxyz(58.2847, 47.1175, 90.0114)
Luminance0.4712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA1F2 #B7F2A1
analogous
#B4A1F2 #DCA1F2 #F2A1E0
triadic
#DCA1F2 #F2DCA1 #A1F2DC
tetradic
#DCA1F2 #F2B4A1 #B7F2A1 #A1E0F2
square
#DCA1F2 #F2B4A1 #B7F2A1 #A1E0F2
split-complementary
#DCA1F2 #E0F2A1 #A1F2B4
monochromatic
#B435E3 #C86BEB #DCA1F2 #F0D7F9 #F5E4FB

Accessibility & contrast

On white

2.01
#DCA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#DCA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA1F2
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA1F2#FFFFFF#000000##000000
##DCA1F21.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#A3B9EF
Tritanopia (blue-blind)
#DCABBF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca1f2;
/* rgb */ color: rgb(220, 161, 242);
/* oklch */ color: oklch(79.2% 0.128 316.6);
Tailwind
colors: {
  custom: {
    50: '#e8bdf6',
    500: '#dca1f2',
    950: '#000000',
  },
}
SCSS
$custom: #dca1f2;
$custom-light: #e8bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dca1f2",
  "rgb": {
    "r": 220,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 283.704,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79236,
    "c": 0.12783,
    "h": 316.6
  },
  "luminance": 0.47116
}

Semantic roles & 50–950 ramp

primary
#DCA1F2
secondary
#DFF3D8
accent
#D80E45
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DCA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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