#DEC7ED#DEC7ED

#DEC7ED is a very light, muted violet. Relative luminance 0.625; OKLCH L 86.1% C 0.057 H 312.1°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#DEC7ED
RGBrgb(222, 199, 237)
HSLhsl(276, 51%, 85%)
HSVhsv(276, 16%, 93%)
CMYKcmyk(6.3%, 16%, 0%, 7.1%)
CIE-LABlab(83.17, 14.91, -15.80)
CIE-LCHlch(83.17, 21.72, 313.35°)
OKLaboklab(86.06% 0.0384 -0.0425)
OKLCHoklch(86.06% 0.057 312.1)
XYZxyz(65.8311, 62.4913, 88.6983)
Luminance0.6249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC7ED #D6EDC7
analogous
#CBC7ED #DEC7ED #EDC7E9
triadic
#DEC7ED #EDDEC7 #C7EDDE
tetradic
#DEC7ED #EDCBC7 #D6EDC7 #C7E9ED
square
#DEC7ED #EDCBC7 #D6EDC7 #C7E9ED
split-complementary
#DEC7ED #E9EDC7 #C7EDCB
monochromatic
#A76ACF #C399DE #DEC7ED #F1E8F8 #F1E8F8

Accessibility & contrast

On white

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

On black

13.50
#DEC7ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC7ED
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC7ED#FFFFFF#000000##000000
##DEC7ED1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2CEEF
Deuteranopia (green-blind)
#C6D0EC
Tritanopia (blue-blind)
#DDCBD4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dec7ed;
/* rgb */ color: rgb(222, 199, 237);
/* oklch */ color: oklch(86.1% 0.057 312.1);
Tailwind
colors: {
  custom: {
    50: '#e8d8f2',
    500: '#dec7ed',
    950: '#000000',
  },
}
SCSS
$custom: #dec7ed;
$custom-light: #e8d8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dec7ed",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 237
  },
  "hsl": {
    "h": 276.316,
    "s": 51.351,
    "l": 85.49
  },
  "oklch": {
    "l": 0.86064,
    "c": 0.05731,
    "h": 312.1
  },
  "luminance": 0.62491
}

Semantic roles & 50–950 ramp

primary
#DEC7ED
secondary
#A6CA8E
accent
#BF2763
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385

Preview Lab

Preview with #DEC7ED

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

Preview Lab → · Contrast checker → · Palette generator →

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