#DEC7FF#DEC7FF

#DEC7FF is a very light, moderate violet. Relative luminance 0.636; OKLCH L 86.7% C 0.080 H 303.5°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#DEC7FF
RGBrgb(222, 199, 255)
HSLhsl(265, 100%, 89%)
HSVhsv(265, 22%, 100%)
CMYKcmyk(12.9%, 22%, 0%, 0%)
CIE-LABlab(83.76, 18.51, -24.50)
CIE-LCHlch(83.76, 30.70, 307.07°)
OKLaboklab(86.71% 0.0442 -0.0667)
OKLCHoklch(86.71% 0.08 303.5)
XYZxyz(68.5941, 63.5965, 103.2500)
Luminance0.6360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC7FF #E8FFC7
analogous
#C7CCFF #DEC7FF #FAC7FF
triadic
#DEC7FF #FFDEC7 #C7FFDE
tetradic
#DEC7FF #FFC7CC #E8FFC7 #C7FFFA
square
#DEC7FF #FFC7CC #E8FFC7 #C7FFFA
split-complementary
#DEC7FF #FFFAC7 #CCFFC7
monochromatic
#964DFF #BA8AFF #DEC7FF #EDE0FF #EDE0FF

Accessibility & contrast

On white

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

On black

13.72
#DEC7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC7FF
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC7FF#FFFFFF#000000##000000
##DEC7FF1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FF
Deuteranopia (green-blind)
#C1D1FD
Tritanopia (blue-blind)
#D9CFDA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dec7ff;
/* rgb */ color: rgb(222, 199, 255);
/* oklch */ color: oklch(86.7% 0.080 303.5);
Tailwind
colors: {
  custom: {
    50: '#e8d8ff',
    500: '#dec7ff',
    950: '#000000',
  },
}
SCSS
$custom: #dec7ff;
$custom-light: #e8d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dec7ff",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 264.643,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.86706,
    "c": 0.08,
    "h": 303.5
  },
  "luminance": 0.63596
}

Semantic roles & 50–950 ramp

primary
#DEC7FF
secondary
#BEE981
accent
#E60087
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DEC7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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