#DCC7FF#DCC7FF

#DCC7FF is a very light, moderate violet. Relative luminance 0.633; OKLCH L 86.5% C 0.079 H 301.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DCC7FF
RGBrgb(220, 199, 255)
HSLhsl(263, 100%, 89%)
HSVhsv(263, 22%, 100%)
CMYKcmyk(13.7%, 22%, 0%, 0%)
CIE-LABlab(83.59, 17.89, -24.76)
CIE-LCHlch(83.59, 30.55, 305.84°)
OKLaboklab(86.54% 0.042 -0.0675)
OKLCHoklch(86.54% 0.079 301.9)
XYZxyz(67.9850, 63.2825, 103.2215)
Luminance0.6328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC7FF #EAFFC7
analogous
#C7CEFF #DCC7FF #F8C7FF
triadic
#DCC7FF #FFDCC7 #C7FFDC
tetradic
#DCC7FF #FFC7CE #EAFFC7 #C7FFF8
square
#DCC7FF #FFC7CE #EAFFC7 #C7FFF8
split-complementary
#DCC7FF #FFF8C7 #CEFFC7
monochromatic
#904DFF #B68AFF #DCC7FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.54
#DCC7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#DCC7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC7FF
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC7FF#FFFFFF#000000##000000
##DCC7FF1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCD0FF
Deuteranopia (green-blind)
#C0D0FD
Tritanopia (blue-blind)
#D6CFDA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcc7ff;
/* rgb */ color: rgb(220, 199, 255);
/* oklch */ color: oklch(86.5% 0.079 301.9);
Tailwind
colors: {
  custom: {
    50: '#e7d8ff',
    500: '#dcc7ff',
    950: '#000000',
  },
}
SCSS
$custom: #dcc7ff;
$custom-light: #e7d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc7ff",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.86539,
    "c": 0.07947,
    "h": 301.9
  },
  "luminance": 0.63282
}

Semantic roles & 50–950 ramp

primary
#DCC7FF
secondary
#C2E981
accent
#E6008F
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DCC7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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