#DEC8F2#DEC8F2

#DEC8F2 is a very light, moderate violet. Relative luminance 0.632; OKLCH L 86.4% C 0.062 H 308.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#DEC8F2
RGBrgb(222, 200, 242)
HSLhsl(271, 62%, 87%)
HSVhsv(271, 17%, 95%)
CMYKcmyk(8.3%, 17.4%, 0%, 5.1%)
CIE-LABlab(83.57, 15.36, -17.86)
CIE-LCHlch(83.57, 23.55, 310.69°)
OKLaboklab(86.43% 0.0386 -0.0482)
OKLCHoklch(86.43% 0.062 308.7)
XYZxyz(66.8027, 63.2493, 92.6763)
Luminance0.6325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC8F2 #DCF2C8
analogous
#C9C8F2 #DEC8F2 #F2C8F1
triadic
#DEC8F2 #F2DEC8 #C8F2DE
tetradic
#DEC8F2 #F2C9C8 #DCF2C8 #C8F1F2
square
#DEC8F2 #F2C9C8 #DCF2C8 #C8F1F2
split-complementary
#DEC8F2 #F1F2C8 #C8F2C9
monochromatic
#A365DB #C097E6 #DEC8F2 #F0E6F9 #F0E6F9

Accessibility & contrast

On white

1.54
#DEC8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#DEC8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC8F2
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC8F2#FFFFFF#000000##000000
##DEC8F21.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2CFF4
Deuteranopia (green-blind)
#C6D1F1
Tritanopia (blue-blind)
#DCCDD6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dec8f2;
/* rgb */ color: rgb(222, 200, 242);
/* oklch */ color: oklch(86.4% 0.062 308.7);
Tailwind
colors: {
  custom: {
    50: '#e8d8f6',
    500: '#dec8f2',
    950: '#000000',
  },
}
SCSS
$custom: #dec8f2;
$custom-light: #e8d8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec8f2",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 242
  },
  "hsl": {
    "h": 271.429,
    "s": 61.765,
    "l": 86.667
  },
  "oklch": {
    "l": 0.86425,
    "c": 0.06179,
    "h": 308.7
  },
  "luminance": 0.63249
}

Semantic roles & 50–950 ramp

primary
#DEC8F2
secondary
#ADD28D
accent
#C91C6F
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385

Preview Lab

Preview with #DEC8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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