#DEC2FB#DEC2FB

#DEC2FB is a very light, moderate violet. Relative luminance 0.611; OKLCH L 85.6% C 0.083 H 307.0°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#DEC2FB
RGBrgb(222, 194, 251)
HSLhsl(269, 88%, 87%)
HSVhsv(269, 23%, 98%)
CMYKcmyk(11.6%, 22.7%, 0%, 1.6%)
CIE-LABlab(82.42, 20.37, -24.40)
CIE-LCHlch(82.42, 31.79, 309.86°)
OKLaboklab(85.63% 0.05 -0.0664)
OKLCHoklch(85.63% 0.083 307)
XYZxyz(66.8254, 61.0785, 99.5170)
Luminance0.6108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC2FB #DFFBC2
analogous
#C2C3FB #DEC2FB #FBC2FB
triadic
#DEC2FB #FBDEC2 #C2FBDE
tetradic
#DEC2FB #FBC2C3 #DFFBC2 #C2FBFB
square
#DEC2FB #FBC2C3 #DFFBC2 #C2FBFB
split-complementary
#DEC2FB #FBFBC2 #C3FBC2
monochromatic
#A04FF3 #BF89F7 #DEC2FB #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.59
#DEC2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#DEC2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC2FB
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC2FB#FFFFFF#000000##000000
##DEC2FB1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8CCFD
Deuteranopia (green-blind)
#BECDF9
Tritanopia (blue-blind)
#DAC9D6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dec2fb;
/* rgb */ color: rgb(222, 194, 251);
/* oklch */ color: oklch(85.6% 0.083 307.0);
Tailwind
colors: {
  custom: {
    50: '#e8d4fc',
    500: '#dec2fb',
    950: '#000000',
  },
}
SCSS
$custom: #dec2fb;
$custom-light: #e8d4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec2fb",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 251
  },
  "hsl": {
    "h": 269.474,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.85631,
    "c": 0.08314,
    "h": 307
  },
  "luminance": 0.61078
}

Semantic roles & 50–950 ramp

primary
#DEC2FB
secondary
#B1E180
accent
#E40175
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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