#DEC7FE#DEC7FE

#DEC7FE is a very light, moderate violet. Relative luminance 0.635; OKLCH L 86.7% C 0.079 H 303.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#DEC7FE
RGBrgb(222, 199, 254)
HSLhsl(265, 96%, 89%)
HSVhsv(265, 22%, 100%)
CMYKcmyk(12.6%, 21.7%, 0%, 0.4%)
CIE-LABlab(83.72, 18.31, -24.02)
CIE-LCHlch(83.72, 30.20, 307.31°)
OKLaboklab(86.67% 0.0438 -0.0654)
OKLCHoklch(86.67% 0.079 303.9)
XYZxyz(68.4336, 63.5323, 102.4045)
Luminance0.6353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC7FE #E7FEC7
analogous
#C7CCFE #DEC7FE #FAC7FE
triadic
#DEC7FE #FEDEC7 #C7FEDE
tetradic
#DEC7FE #FEC7CC #E7FEC7 #C7FEFA
square
#DEC7FE #FEC7CC #E7FEC7 #C7FEFA
split-complementary
#DEC7FE #FEFAC7 #CCFEC7
monochromatic
#974FFC #BB8BFD #DEC7FE #EDE1FE #EDE1FE

Accessibility & contrast

On white

1.53
#DEC7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#DEC7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC7FE
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC7FE#FFFFFF#000000##000000
##DEC7FE1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FF
Deuteranopia (green-blind)
#C1D1FC
Tritanopia (blue-blind)
#D9CFDA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dec7fe;
/* rgb */ color: rgb(222, 199, 254);
/* oklch */ color: oklch(86.7% 0.079 303.9);
Tailwind
colors: {
  custom: {
    50: '#e8d8fe',
    500: '#dec7fe',
    950: '#000000',
  },
}
SCSS
$custom: #dec7fe;
$custom-light: #e8d8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dec7fe",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 254
  },
  "hsl": {
    "h": 265.091,
    "s": 96.491,
    "l": 88.824
  },
  "oklch": {
    "l": 0.86669,
    "c": 0.0787,
    "h": 303.9
  },
  "luminance": 0.63532
}

Semantic roles & 50–950 ramp

primary
#DEC7FE
secondary
#BDE782
accent
#E60086
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DEC7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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