#DCC7EC#DCC7EC

#DCC7EC is a very light, muted violet. Relative luminance 0.621; OKLCH L 85.9% C 0.055 H 310.6°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DCC7EC
RGBrgb(220, 199, 236)
HSLhsl(274, 49%, 85%)
HSVhsv(274, 16%, 93%)
CMYKcmyk(6.8%, 15.7%, 0%, 7.5%)
CIE-LABlab(82.98, 14.06, -15.58)
CIE-LCHlch(82.98, 20.99, 312.08°)
OKLaboklab(85.86% 0.0359 -0.042)
OKLCHoklch(85.86% 0.055 310.6)
XYZxyz(65.0764, 62.1190, 87.9025)
Luminance0.6212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC7EC #D7ECC7
analogous
#C9C7EC #DCC7EC #ECC7E9
triadic
#DCC7EC #ECDCC7 #C7ECDC
tetradic
#DCC7EC #ECC9C7 #D7ECC7 #C7E9EC
square
#DCC7EC #ECC9C7 #D7ECC7 #C7E9EC
split-complementary
#DCC7EC #E9ECC7 #C7ECC9
monochromatic
#A36CCD #BF99DC #DCC7EC #F1E8F7 #F1E8F7

Accessibility & contrast

On white

1.56
#DCC7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#DCC7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC7EC
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC7EC#FFFFFF#000000##000000
##DCC7EC1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2CEEE
Deuteranopia (green-blind)
#C6CFEB
Tritanopia (blue-blind)
#DBCBD3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcc7ec;
/* rgb */ color: rgb(220, 199, 236);
/* oklch */ color: oklch(85.9% 0.055 310.6);
Tailwind
colors: {
  custom: {
    50: '#e7d8f2',
    500: '#dcc7ec',
    950: '#000000',
  },
}
SCSS
$custom: #dcc7ec;
$custom-light: #e7d8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc7ec",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 236
  },
  "hsl": {
    "h": 274.054,
    "s": 49.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.8586,
    "c": 0.05523,
    "h": 310.6
  },
  "luminance": 0.62119
}

Semantic roles & 50–950 ramp

primary
#DCC7EC
secondary
#A8C88F
accent
#BD2969
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161416
muted
#848385

Preview Lab

Preview with #DCC7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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