#DCA2FA#DCA2FA

#DCA2FA is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.7% C 0.135 H 313.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#DCA2FA
RGBrgb(220, 162, 250)
HSLhsl(280, 90%, 81%)
HSVhsv(280, 35%, 98%)
CMYKcmyk(12%, 35.2%, 0%, 2%)
CIE-LABlab(74.80, 36.80, -35.58)
CIE-LCHlch(74.80, 51.19, 315.96°)
OKLaboklab(79.74% 0.0933 -0.0979)
OKLCHoklch(79.74% 0.135 313.6)
XYZxyz(59.6880, 47.9595, 96.5367)
Luminance0.4796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2FA #C0FAA2
analogous
#B0A2FA #DCA2FA #FAA2EC
triadic
#DCA2FA #FADCA2 #A2FADC
tetradic
#DCA2FA #FAB0A2 #C0FAA2 #A2ECFA
square
#DCA2FA #FAB0A2 #C0FAA2 #A2ECFA
split-complementary
#DCA2FA #ECFAA2 #A2FAB0
monochromatic
#B02EF4 #C668F7 #DCA2FA #F2DCFD #F4E2FD

Accessibility & contrast

On white

1.98
#DCA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#DCA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2FA
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2FA#FFFFFF#000000##000000
##DCA2FA1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#A1BAF7
Tritanopia (blue-blind)
#DAAEC3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca2fa;
/* rgb */ color: rgb(220, 162, 250);
/* oklch */ color: oklch(79.7% 0.135 313.6);
Tailwind
colors: {
  custom: {
    50: '#e8befc',
    500: '#dca2fa',
    950: '#000000',
  },
}
SCSS
$custom: #dca2fa;
$custom-light: #e8befc;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2fa",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 279.545,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79744,
    "c": 0.13521,
    "h": 313.6
  },
  "luminance": 0.47958
}

Semantic roles & 50–950 ramp

primary
#DCA2FA
secondary
#E0F6D5
accent
#E6004E
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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