#DCA7F9#DCA7F9

#DCA7F9 is a light, vivid violet. Relative luminance 0.497; OKLCH L 80.6% C 0.126 H 313.2°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#DCA7F9
RGBrgb(220, 167, 249)
HSLhsl(279, 87%, 82%)
HSVhsv(279, 33%, 98%)
CMYKcmyk(11.6%, 32.9%, 0%, 2.4%)
CIE-LABlab(75.88, 33.90, -33.37)
CIE-LCHlch(75.88, 47.57, 315.45°)
OKLaboklab(80.55% 0.0859 -0.0916)
OKLCHoklch(80.55% 0.126 313.2)
XYZxyz(60.4300, 49.6936, 96.0126)
Luminance0.4969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7F9 #C4F9A7
analogous
#B3A7F9 #DCA7F9 #F9A7ED
triadic
#DCA7F9 #F9DCA7 #A7F9DC
tetradic
#DCA7F9 #F9B3A7 #C4F9A7 #A7EDF9
square
#DCA7F9 #F9B3A7 #C4F9A7 #A7EDF9
split-complementary
#DCA7F9 #EDF9A7 #A7F9B3
monochromatic
#AE34F1 #C56EF5 #DCA7F9 #F3E0FD #F4E2FD

Accessibility & contrast

On white

1.92
#DCA7F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#DCA7F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7F9
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7F9#FFFFFF#000000##000000
##DCA7F91.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB8FC
Deuteranopia (green-blind)
#A6BCF7
Tritanopia (blue-blind)
#DAB2C5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dca7f9;
/* rgb */ color: rgb(220, 167, 249);
/* oklch */ color: oklch(80.6% 0.126 313.2);
Tailwind
colors: {
  custom: {
    50: '#e8c1fb',
    500: '#dca7f9',
    950: '#000000',
  },
}
SCSS
$custom: #dca7f9;
$custom-light: #e8c1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7f9",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 249
  },
  "hsl": {
    "h": 278.78,
    "s": 87.234,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80553,
    "c": 0.12558,
    "h": 313.2
  },
  "luminance": 0.49693
}

Semantic roles & 50–950 ramp

primary
#DCA7F9
secondary
#E1F5D6
accent
#E40252
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA7F9

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

Preview Lab → · Contrast checker → · Palette generator →

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