#DCA8FF#DCA8FF

#DCA8FF is a light, vivid violet. Relative luminance 0.504; OKLCH L 81.0% C 0.131 H 311.0°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#DCA8FF
RGBrgb(220, 168, 255)
HSLhsl(276, 100%, 83%)
HSVhsv(276, 34%, 100%)
CMYKcmyk(13.7%, 34.1%, 0%, 0%)
CIE-LABlab(76.34, 34.60, -35.90)
CIE-LCHlch(76.34, 49.86, 313.94°)
OKLaboklab(80.98% 0.0859 -0.0988)
OKLCHoklch(80.98% 0.131 311)
XYZxyz(61.5647, 50.4418, 101.0814)
Luminance0.5044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA8FF #CBFFA8
analogous
#B0A8FF #DCA8FF #FFA8F7
triadic
#DCA8FF #FFDCA8 #A8FFDC
tetradic
#DCA8FF #FFB0A8 #CBFFA8 #A8F7FF
square
#DCA8FF #FFB0A8 #CBFFA8 #A8F7FF
split-complementary
#DCA8FF #F7FFA8 #A8FFB0
monochromatic
#AB2EFF #C36BFF #DCA8FF #F3E0FF #F3E0FF

Accessibility & contrast

On white

1.89
#DCA8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#DCA8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA8FF
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA8FF#FFFFFF#000000##000000
##DCA8FF1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#A4BDFC
Tritanopia (blue-blind)
#D8B4C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dca8ff;
/* rgb */ color: rgb(220, 168, 255);
/* oklch */ color: oklch(81.0% 0.131 311.0);
Tailwind
colors: {
  custom: {
    50: '#e8c2ff',
    500: '#dca8ff',
    950: '#000000',
  },
}
SCSS
$custom: #dca8ff;
$custom-light: #e8c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dca8ff",
  "rgb": {
    "r": 220,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 275.862,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80978,
    "c": 0.13093,
    "h": 311
  },
  "luminance": 0.50441
}

Semantic roles & 50–950 ramp

primary
#DCA8FF
secondary
#99E467
accent
#E6005C
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DCA8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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