#DCC7EA#DCC7EA

#DCC7EA is a very light, muted violet. Relative luminance 0.620; OKLCH L 85.8% C 0.053 H 311.9°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DCC7EA
RGBrgb(220, 199, 234)
HSLhsl(276, 45%, 85%)
HSVhsv(276, 15%, 92%)
CMYKcmyk(6%, 15%, 0%, 8.2%)
CIE-LABlab(82.92, 13.68, -14.60)
CIE-LCHlch(82.92, 20.01, 313.12°)
OKLaboklab(85.79% 0.0352 -0.0393)
OKLCHoklch(85.79% 0.053 311.9)
XYZxyz(64.7874, 62.0034, 86.3807)
Luminance0.6200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC7EA #D5EAC7
analogous
#CAC7EA #DCC7EA #EAC7E7
triadic
#DCC7EA #EADCC7 #C7EADC
tetradic
#DCC7EA #EACAC7 #D5EAC7 #C7E7EA
square
#DCC7EA #EACAC7 #D5EAC7 #C7E7EA
split-complementary
#DCC7EA #E7EAC7 #C7EACA
monochromatic
#A46EC9 #C09AD9 #DCC7EA #F1E9F7 #F1E9F7

Accessibility & contrast

On white

1.57
#DCC7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DCC7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC7EA
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC7EA#FFFFFF#000000##000000
##DCC7EA1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2CDEC
Deuteranopia (green-blind)
#C6CFE9
Tritanopia (blue-blind)
#DBCBD3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcc7ea;
/* rgb */ color: rgb(220, 199, 234);
/* oklch */ color: oklch(85.8% 0.053 311.9);
Tailwind
colors: {
  custom: {
    50: '#e7d8f0',
    500: '#dcc7ea',
    950: '#000000',
  },
}
SCSS
$custom: #dcc7ea;
$custom-light: #e7d8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc7ea",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 234
  },
  "hsl": {
    "h": 276,
    "s": 45.455,
    "l": 84.902
  },
  "oklch": {
    "l": 0.85792,
    "c": 0.05277,
    "h": 311.9
  },
  "luminance": 0.62003
}

Semantic roles & 50–950 ramp

primary
#DCC7EA
secondary
#A5C590
accent
#B92D65
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161416
muted
#848385

Preview Lab

Preview with #DCC7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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