#DEC8FB#DEC8FB

#DEC8FB is a very light, moderate violet. Relative luminance 0.638; OKLCH L 86.7% C 0.073 H 304.5°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#DEC8FB
RGBrgb(222, 200, 251)
HSLhsl(266, 86%, 88%)
HSVhsv(266, 20%, 98%)
CMYKcmyk(11.6%, 20.3%, 0%, 1.6%)
CIE-LABlab(83.86, 17.16, -22.21)
CIE-LCHlch(83.86, 28.07, 307.69°)
OKLaboklab(86.75% 0.0415 -0.0603)
OKLCHoklch(86.75% 0.073 304.5)
XYZxyz(68.1878, 63.8033, 99.9711)
Luminance0.6380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC8FB #E5FBC8
analogous
#C8CBFB #DEC8FB #F7C8FB
triadic
#DEC8FB #FBDEC8 #C8FBDE
tetradic
#DEC8FB #FBC8CB #E5FBC8 #C8FBF7
square
#DEC8FB #FBC8CB #E5FBC8 #C8FBF7
split-complementary
#DEC8FB #FBF7C8 #CBFBC8
monochromatic
#9A56F3 #BC8FF7 #DEC8FB #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.53
#DEC8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#DEC8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC8FB
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC8FB#FFFFFF#000000##000000
##DEC8FB1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFD0FD
Deuteranopia (green-blind)
#C3D1F9
Tritanopia (blue-blind)
#DACFD9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dec8fb;
/* rgb */ color: rgb(222, 200, 251);
/* oklch */ color: oklch(86.7% 0.073 304.5);
Tailwind
colors: {
  custom: {
    50: '#e8d8fc',
    500: '#dec8fb',
    950: '#000000',
  },
}
SCSS
$custom: #dec8fb;
$custom-light: #e8d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec8fb",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 251
  },
  "hsl": {
    "h": 265.882,
    "s": 86.441,
    "l": 88.431
  },
  "oklch": {
    "l": 0.86746,
    "c": 0.07322,
    "h": 304.5
  },
  "luminance": 0.63803
}

Semantic roles & 50–950 ramp

primary
#DEC8FB
secondary
#BAE186
accent
#E30382
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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