#DEC1FB#DEC1FB

#DEC1FB is a very light, moderate violet. Relative luminance 0.606; OKLCH L 85.4% C 0.085 H 307.4°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#DEC1FB
RGBrgb(222, 193, 251)
HSLhsl(270, 88%, 87%)
HSVhsv(270, 23%, 98%)
CMYKcmyk(11.6%, 23.1%, 0%, 1.6%)
CIE-LABlab(82.18, 20.91, -24.77)
CIE-LCHlch(82.18, 32.41, 310.18°)
OKLaboklab(85.45% 0.0515 -0.0674)
OKLCHoklch(85.45% 0.085 307.4)
XYZxyz(66.6036, 60.6349, 99.4430)
Luminance0.6063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC1FB #DEFBC1
analogous
#C1C1FB #DEC1FB #FBC1FB
triadic
#DEC1FB #FBDEC1 #C1FBDE
tetradic
#DEC1FB #FBC1C1 #DEFBC1 #C1FBFB
square
#DEC1FB #FBC1C1 #DEFBC1 #C1FBFB
split-complementary
#DEC1FB #FBFBC1 #C1FBC1
monochromatic
#A14EF4 #BF88F7 #DEC1FB #F0E2FD #F0E2FD

Accessibility & contrast

On white

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

On black

13.13
#DEC1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC1FB
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC1FB#FFFFFF#000000##000000
##DEC1FB1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7CBFD
Deuteranopia (green-blind)
#BDCDF9
Tritanopia (blue-blind)
#DAC9D5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dec1fb;
/* rgb */ color: rgb(222, 193, 251);
/* oklch */ color: oklch(85.4% 0.085 307.4);
Tailwind
colors: {
  custom: {
    50: '#e8d3fc',
    500: '#dec1fb',
    950: '#000000',
  },
}
SCSS
$custom: #dec1fb;
$custom-light: #e8d3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec1fb",
  "rgb": {
    "r": 222,
    "g": 193,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 87.879,
    "l": 87.059
  },
  "oklch": {
    "l": 0.85447,
    "c": 0.08482,
    "h": 307.4
  },
  "luminance": 0.60635
}

Semantic roles & 50–950 ramp

primary
#DEC1FB
secondary
#B0E180
accent
#E40173
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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