#DEC9FB#DEC9FB

#DEC9FB is a very light, moderate violet. Relative luminance 0.643; OKLCH L 86.9% C 0.072 H 304.1°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DEC9FB
RGBrgb(222, 201, 251)
HSLhsl(265, 86%, 89%)
HSVhsv(265, 20%, 98%)
CMYKcmyk(11.6%, 19.9%, 0%, 1.6%)
CIE-LABlab(84.11, 16.62, -21.84)
CIE-LCHlch(84.11, 27.45, 307.27°)
OKLaboklab(86.93% 0.0401 -0.0593)
OKLCHoklch(86.93% 0.072 304.1)
XYZxyz(68.4201, 64.2680, 100.0485)
Luminance0.6427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC9FB #E6FBC9
analogous
#C9CDFB #DEC9FB #F7C9FB
triadic
#DEC9FB #FBDEC9 #C9FBDE
tetradic
#DEC9FB #FBC9CD #E6FBC9 #C9FBF7
square
#DEC9FB #FBC9CD #E6FBC9 #C9FBF7
split-complementary
#DEC9FB #FBF7C9 #CDFBC9
monochromatic
#9857F3 #BB90F7 #DEC9FB #EEE3FD #EEE3FD

Accessibility & contrast

On white

1.52
#DEC9FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#DEC9FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC9FB
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC9FB#FFFFFF#000000##000000
##DEC9FB1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0D1FD
Deuteranopia (green-blind)
#C4D2F9
Tritanopia (blue-blind)
#DAD0DA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dec9fb;
/* rgb */ color: rgb(222, 201, 251);
/* oklch */ color: oklch(86.9% 0.072 304.1);
Tailwind
colors: {
  custom: {
    50: '#e8d9fc',
    500: '#dec9fb',
    950: '#000000',
  },
}
SCSS
$custom: #dec9fb;
$custom-light: #e8d9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec9fb",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 251
  },
  "hsl": {
    "h": 265.2,
    "s": 86.207,
    "l": 88.627
  },
  "oklch": {
    "l": 0.86933,
    "c": 0.07157,
    "h": 304.1
  },
  "luminance": 0.64268
}

Semantic roles & 50–950 ramp

primary
#DEC9FB
secondary
#BBE187
accent
#E30385
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC9FB

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

Preview Lab → · Contrast checker → · Palette generator →

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