#DCA2F7#DCA2F7

#DCA2F7 is a light, vivid purple. Relative luminance 0.478; OKLCH L 79.6% C 0.132 H 314.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#DCA2F7
RGBrgb(220, 162, 247)
HSLhsl(281, 84%, 80%)
HSVhsv(281, 34%, 97%)
CMYKcmyk(10.9%, 34.4%, 0%, 3.1%)
CIE-LABlab(74.68, 36.19, -34.14)
CIE-LCHlch(74.68, 49.75, 316.66°)
OKLaboklab(79.62% 0.0926 -0.0937)
OKLCHoklch(79.62% 0.132 314.7)
XYZxyz(59.2214, 47.7729, 94.0790)
Luminance0.4777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2F7 #BDF7A2
analogous
#B1A2F7 #DCA2F7 #F7A2E8
triadic
#DCA2F7 #F7DCA2 #A2F7DC
tetradic
#DCA2F7 #F7B1A2 #BDF7A2 #A2E8F7
square
#DCA2F7 #F7B1A2 #BDF7A2 #A2E8F7
split-complementary
#DCA2F7 #E8F7A2 #A2F7B1
monochromatic
#B231ED #C76AF2 #DCA2F7 #F1DAFC #F4E3FD

Accessibility & contrast

On white

1.99
#DCA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#DCA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2F7
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2F7#FFFFFF#000000##000000
##DCA2F71.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B4FA
Deuteranopia (green-blind)
#A2B9F4
Tritanopia (blue-blind)
#DAADC1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca2f7;
/* rgb */ color: rgb(220, 162, 247);
/* oklch */ color: oklch(79.6% 0.132 314.7);
Tailwind
colors: {
  custom: {
    50: '#e8befa',
    500: '#dca2f7',
    950: '#000000',
  },
}
SCSS
$custom: #dca2f7;
$custom-light: #e8befa;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2f7",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 280.941,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79616,
    "c": 0.13178,
    "h": 314.7
  },
  "luminance": 0.47772
}

Semantic roles & 50–950 ramp

primary
#DCA2F7
secondary
#E0F5D6
accent
#E1054B
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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