#DCA2F0#DCA2F0

#DCA2F0 is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.3% C 0.124 H 317.2°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#DCA2F0
RGBrgb(220, 162, 240)
HSLhsl(285, 72%, 79%)
HSVhsv(285, 33%, 94%)
CMYKcmyk(8.3%, 32.5%, 0%, 5.9%)
CIE-LABlab(74.41, 34.78, -30.76)
CIE-LCHlch(74.41, 46.43, 318.51°)
OKLaboklab(79.32% 0.0909 -0.0841)
OKLCHoklch(79.32% 0.124 317.2)
XYZxyz(58.1614, 47.3489, 88.4966)
Luminance0.4735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2F0 #B6F0A2
analogous
#B5A2F0 #DCA2F0 #F0A2DD
triadic
#DCA2F0 #F0DCA2 #A2F0DC
tetradic
#DCA2F0 #F0B5A2 #B6F0A2 #A2DDF0
square
#DCA2F0 #F0B5A2 #B6F0A2 #A2DDF0
split-complementary
#DCA2F0 #DDF0A2 #A2F0B5
monochromatic
#B439DF #C86DE8 #DCA2F0 #F0D7F9 #F5E5FB

Accessibility & contrast

On white

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

On black

10.47
#DCA2F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2F0
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2F0#FFFFFF#000000##000000
##DCA2F01.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F3
Deuteranopia (green-blind)
#A5B9EE
Tritanopia (blue-blind)
#DCABBF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca2f0;
/* rgb */ color: rgb(220, 162, 240);
/* oklch */ color: oklch(79.3% 0.124 317.2);
Tailwind
colors: {
  custom: {
    50: '#e8bef5',
    500: '#dca2f0',
    950: '#000000',
  },
}
SCSS
$custom: #dca2f0;
$custom-light: #e8bef5;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2f0",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 240
  },
  "hsl": {
    "h": 284.615,
    "s": 72.222,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.12387,
    "h": 317.2
  },
  "luminance": 0.47348
}

Semantic roles & 50–950 ramp

primary
#DCA2F0
secondary
#DFF2D9
accent
#D41143
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA2F0

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

Preview Lab → · Contrast checker → · Palette generator →

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