#DCA0FE#DCA0FE

#DCA0FE is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.6% C 0.143 H 312.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#DCA0FE
RGBrgb(220, 160, 254)
HSLhsl(278, 98%, 81%)
HSVhsv(278, 37%, 100%)
CMYKcmyk(13.4%, 37%, 0%, 0.4%)
CIE-LABlab(74.52, 38.69, -38.19)
CIE-LCHlch(74.52, 54.36, 315.38°)
OKLaboklab(79.58% 0.097 -0.1053)
OKLCHoklch(79.58% 0.143 312.7)
XYZxyz(59.9724, 47.5141, 99.7585)
Luminance0.4751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA0FE #C2FEA0
analogous
#ADA0FE #DCA0FE #FEA0F1
triadic
#DCA0FE #FEDCA0 #A0FEDC
tetradic
#DCA0FE #FEADA0 #C2FEA0 #A0F1FE
square
#DCA0FE #FEADA0 #C2FEA0 #A0F1FE
split-complementary
#DCA0FE #F1FEA0 #A0FEAD
monochromatic
#AF27FD #C663FD #DCA0FE #F2DDFF #F4E1FF

Accessibility & contrast

On white

2.00
#DCA0FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#DCA0FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA0FE
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA0FE#FFFFFF#000000##000000
##DCA0FE1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#9DB9FB
Tritanopia (blue-blind)
#D9ADC3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dca0fe;
/* rgb */ color: rgb(220, 160, 254);
/* oklch */ color: oklch(79.6% 0.143 312.7);
Tailwind
colors: {
  custom: {
    50: '#e8bdff',
    500: '#dca0fe',
    950: '#000000',
  },
}
SCSS
$custom: #dca0fe;
$custom-light: #e8bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#dca0fe",
  "rgb": {
    "r": 220,
    "g": 160,
    "b": 254
  },
  "hsl": {
    "h": 278.298,
    "s": 97.917,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79584,
    "c": 0.14317,
    "h": 312.7
  },
  "luminance": 0.47513
}

Semantic roles & 50–950 ramp

primary
#DCA0FE
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DCA0FE

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

Preview Lab → · Contrast checker → · Palette generator →

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