#DEC7FA#DEC7FA

#DEC7FA is a very light, moderate violet. Relative luminance 0.633; OKLCH L 86.5% C 0.074 H 305.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DEC7FA
RGBrgb(222, 199, 250)
HSLhsl(267, 84%, 88%)
HSVhsv(267, 20%, 98%)
CMYKcmyk(11.2%, 20.4%, 0%, 2%)
CIE-LABlab(83.59, 17.49, -22.09)
CIE-LCHlch(83.59, 28.18, 308.36°)
OKLaboklab(86.52% 0.0426 -0.06)
OKLCHoklch(86.52% 0.074 305.4)
XYZxyz(67.7997, 63.2788, 99.0662)
Luminance0.6328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC7FA #E3FAC7
analogous
#C7C9FA #DEC7FA #F8C7FA
triadic
#DEC7FA #FADEC7 #C7FADE
tetradic
#DEC7FA #FAC7C9 #E3FAC7 #C7FAF8
square
#DEC7FA #FAC7C9 #E3FAC7 #C7FAF8
split-complementary
#DEC7FA #FAF8C7 #C9FAC7
monochromatic
#9C57F0 #BD8FF5 #DEC7FA #EEE3FC #EEE3FC

Accessibility & contrast

On white

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

On black

13.66
#DEC7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC7FA
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC7FA#FFFFFF#000000##000000
##DEC7FA1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BED0FC
Deuteranopia (green-blind)
#C2D0F8
Tritanopia (blue-blind)
#DACED8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dec7fa;
/* rgb */ color: rgb(222, 199, 250);
/* oklch */ color: oklch(86.5% 0.074 305.4);
Tailwind
colors: {
  custom: {
    50: '#e8d8fc',
    500: '#dec7fa',
    950: '#000000',
  },
}
SCSS
$custom: #dec7fa;
$custom-light: #e8d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec7fa",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 250
  },
  "hsl": {
    "h": 267.059,
    "s": 83.607,
    "l": 88.039
  },
  "oklch": {
    "l": 0.86522,
    "c": 0.07358,
    "h": 305.4
  },
  "luminance": 0.63279
}

Semantic roles & 50–950 ramp

primary
#DEC7FA
secondary
#B7DF86
accent
#E0057D
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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