#DEC4FB#DEC4FB

#DEC4FB is a very light, moderate violet. Relative luminance 0.620; OKLCH L 86.0% C 0.080 H 306.2°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#DEC4FB
RGBrgb(222, 196, 251)
HSLhsl(268, 87%, 88%)
HSVhsv(268, 22%, 98%)
CMYKcmyk(11.6%, 21.9%, 0%, 1.6%)
CIE-LABlab(82.90, 19.30, -23.67)
CIE-LCHlch(82.90, 30.54, 309.19°)
OKLaboklab(86% 0.0472 -0.0644)
OKLCHoklch(86% 0.08 306.2)
XYZxyz(67.2735, 61.9748, 99.6663)
Luminance0.6197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC4FB #E1FBC4
analogous
#C4C5FB #DEC4FB #FAC4FB
triadic
#DEC4FB #FBDEC4 #C4FBDE
tetradic
#DEC4FB #FBC4C5 #E1FBC4 #C4FBFA
square
#DEC4FB #FBC4C5 #E1FBC4 #C4FBFA
split-complementary
#DEC4FB #FBFAC4 #C5FBC4
monochromatic
#9E51F3 #BE8BF7 #DEC4FB #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.57
#DEC4FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#DEC4FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC4FB
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC4FB#FFFFFF#000000##000000
##DEC4FB1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCDFD
Deuteranopia (green-blind)
#BFCFF9
Tritanopia (blue-blind)
#DACBD7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dec4fb;
/* rgb */ color: rgb(222, 196, 251);
/* oklch */ color: oklch(86.0% 0.080 306.2);
Tailwind
colors: {
  custom: {
    50: '#e8d6fc',
    500: '#dec4fb',
    950: '#000000',
  },
}
SCSS
$custom: #dec4fb;
$custom-light: #e8d6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec4fb",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 251
  },
  "hsl": {
    "h": 268.364,
    "s": 87.302,
    "l": 87.647
  },
  "oklch": {
    "l": 0.86001,
    "c": 0.07982,
    "h": 306.2
  },
  "luminance": 0.61974
}

Semantic roles & 50–950 ramp

primary
#DEC4FB
secondary
#B4E182
accent
#E40279
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC4FB

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

Preview Lab → · Contrast checker → · Palette generator →

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