#DEC2F2#DEC2F2

#DEC2F2 is a very light, moderate violet. Relative luminance 0.605; OKLCH L 85.3% C 0.072 H 311.1°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#DEC2F2
RGBrgb(222, 194, 242)
HSLhsl(275, 65%, 85%)
HSVhsv(275, 20%, 95%)
CMYKcmyk(8.3%, 19.8%, 0%, 5.1%)
CIE-LABlab(82.12, 18.57, -20.05)
CIE-LCHlch(82.12, 27.33, 312.80°)
OKLaboklab(85.3% 0.0473 -0.0543)
OKLCHoklch(85.3% 0.072 311.1)
XYZxyz(65.4403, 60.5245, 92.2221)
Luminance0.6052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC2F2 #D6F2C2
analogous
#C6C2F2 #DEC2F2 #F2C2EE
triadic
#DEC2F2 #F2DEC2 #C2F2DE
tetradic
#DEC2F2 #F2C6C2 #D6F2C2 #C2EEF2
square
#DEC2F2 #F2C6C2 #D6F2C2 #C2EEF2
split-complementary
#DEC2F2 #EEF2C2 #C2F2C6
monochromatic
#A75DDC #C390E7 #DEC2F2 #F1E6FA #F1E6FA

Accessibility & contrast

On white

1.60
#DEC2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#DEC2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC2F2
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC2F2#FFFFFF#000000##000000
##DEC2F21.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCBF4
Deuteranopia (green-blind)
#C1CDF0
Tritanopia (blue-blind)
#DCC8D2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dec2f2;
/* rgb */ color: rgb(222, 194, 242);
/* oklch */ color: oklch(85.3% 0.072 311.1);
Tailwind
colors: {
  custom: {
    50: '#e8d4f6',
    500: '#dec2f2',
    950: '#000000',
  },
}
SCSS
$custom: #dec2f2;
$custom-light: #e8d4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec2f2",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 242
  },
  "hsl": {
    "h": 275,
    "s": 64.865,
    "l": 85.49
  },
  "oklch": {
    "l": 0.85302,
    "c": 0.07196,
    "h": 311.1
  },
  "luminance": 0.60524
}

Semantic roles & 50–950 ramp

primary
#DEC2F2
secondary
#A6D286
accent
#CD1964
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385

Preview Lab

Preview with #DEC2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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