#DCA7FF#DCA7FF

#DCA7FF is a light, vivid violet. Relative luminance 0.501; OKLCH L 80.8% C 0.133 H 311.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#DCA7FF
RGBrgb(220, 167, 255)
HSLhsl(276, 100%, 83%)
HSVhsv(276, 35%, 100%)
CMYKcmyk(13.7%, 34.5%, 0%, 0%)
CIE-LABlab(76.11, 35.14, -36.25)
CIE-LCHlch(76.11, 50.48, 314.11°)
OKLaboklab(80.81% 0.0874 -0.0998)
OKLCHoklch(80.81% 0.133 311.2)
XYZxyz(61.3808, 50.0739, 101.0201)
Luminance0.5007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7FF #CAFFA7
analogous
#B0A7FF #DCA7FF #FFA7F6
triadic
#DCA7FF #FFDCA7 #A7FFDC
tetradic
#DCA7FF #FFB0A7 #CAFFA7 #A7F6FF
square
#DCA7FF #FFB0A7 #CAFFA7 #A7F6FF
split-complementary
#DCA7FF #F6FFA7 #A7FFB0
monochromatic
#AB2DFF #C46AFF #DCA7FF #F3E0FF #F3E0FF

Accessibility & contrast

On white

1.91
#DCA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#DCA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7FF
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7FF#FFFFFF#000000##000000
##DCA7FF1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#A3BDFC
Tritanopia (blue-blind)
#D8B3C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dca7ff;
/* rgb */ color: rgb(220, 167, 255);
/* oklch */ color: oklch(80.8% 0.133 311.2);
Tailwind
colors: {
  custom: {
    50: '#e8c1ff',
    500: '#dca7ff',
    950: '#000000',
  },
}
SCSS
$custom: #dca7ff;
$custom-light: #e8c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7ff",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 276.136,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.1326,
    "h": 311.2
  },
  "luminance": 0.50073
}

Semantic roles & 50–950 ramp

primary
#DCA7FF
secondary
#98E466
accent
#E6005B
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DCA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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