#DEC7F2#DEC7F2

#DEC7F2 is a very light, moderate violet. Relative luminance 0.628; OKLCH L 86.2% C 0.063 H 309.1°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#DEC7F2
RGBrgb(222, 199, 242)
HSLhsl(272, 62%, 86%)
HSVhsv(272, 18%, 95%)
CMYKcmyk(8.3%, 17.8%, 0%, 5.1%)
CIE-LABlab(83.33, 15.89, -18.23)
CIE-LCHlch(83.33, 24.18, 311.08°)
OKLaboklab(86.24% 0.0401 -0.0492)
OKLCHoklch(86.24% 0.063 309.1)
XYZxyz(66.5718, 62.7876, 92.5993)
Luminance0.6279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC7F2 #DBF2C7
analogous
#C9C7F2 #DEC7F2 #F2C7F1
triadic
#DEC7F2 #F2DEC7 #C7F2DE
tetradic
#DEC7F2 #F2C9C7 #DBF2C7 #C7F1F2
square
#DEC7F2 #F2C9C7 #DBF2C7 #C7F1F2
split-complementary
#DEC7F2 #F1F2C7 #C7F2C9
monochromatic
#A364DB #C195E6 #DEC7F2 #F0E6F9 #F0E6F9

Accessibility & contrast

On white

1.55
#DEC7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#DEC7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC7F2
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC7F2#FFFFFF#000000##000000
##DEC7F21.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1CFF4
Deuteranopia (green-blind)
#C5D0F1
Tritanopia (blue-blind)
#DCCCD5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dec7f2;
/* rgb */ color: rgb(222, 199, 242);
/* oklch */ color: oklch(86.2% 0.063 309.1);
Tailwind
colors: {
  custom: {
    50: '#e8d8f6',
    500: '#dec7f2',
    950: '#000000',
  },
}
SCSS
$custom: #dec7f2;
$custom-light: #e8d8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec7f2",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 242
  },
  "hsl": {
    "h": 272.093,
    "s": 62.319,
    "l": 86.471
  },
  "oklch": {
    "l": 0.86237,
    "c": 0.06349,
    "h": 309.1
  },
  "luminance": 0.62787
}

Semantic roles & 50–950 ramp

primary
#DEC7F2
secondary
#ACD28C
accent
#CA1B6D
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385

Preview Lab

Preview with #DEC7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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