#DEC2FA#DEC2FA

#DEC2FA is a very light, moderate violet. Relative luminance 0.610; OKLCH L 85.6% C 0.082 H 307.4°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#DEC2FA
RGBrgb(222, 194, 250)
HSLhsl(270, 85%, 87%)
HSVhsv(270, 22%, 98%)
CMYKcmyk(11.2%, 22.4%, 0%, 2%)
CIE-LABlab(82.39, 20.17, -23.92)
CIE-LCHlch(82.39, 31.29, 310.14°)
OKLaboklab(85.59% 0.0497 -0.0651)
OKLCHoklch(85.59% 0.082 307.4)
XYZxyz(66.6682, 61.0157, 98.6890)
Luminance0.6101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC2FA #DEFAC2
analogous
#C2C2FA #DEC2FA #FAC2FA
triadic
#DEC2FA #FADEC2 #C2FADE
tetradic
#DEC2FA #FAC2C2 #DEFAC2 #C2FAFA
square
#DEC2FA #FAC2C2 #DEFAC2 #C2FAFA
split-complementary
#DEC2FA #FAFAC2 #C2FAC2
monochromatic
#A151F1 #BF89F5 #DEC2FA #F0E3FD #F0E3FD

Accessibility & contrast

On white

1.59
#DEC2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#DEC2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC2FA
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC2FA#FFFFFF#000000##000000
##DEC2FA1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9CCFC
Deuteranopia (green-blind)
#BECDF8
Tritanopia (blue-blind)
#DBC9D5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dec2fa;
/* rgb */ color: rgb(222, 194, 250);
/* oklch */ color: oklch(85.6% 0.082 307.4);
Tailwind
colors: {
  custom: {
    50: '#e8d4fc',
    500: '#dec2fa',
    950: '#000000',
  },
}
SCSS
$custom: #dec2fa;
$custom-light: #e8d4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dec2fa",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.85594,
    "c": 0.08189,
    "h": 307.4
  },
  "luminance": 0.61015
}

Semantic roles & 50–950 ramp

primary
#DEC2FA
secondary
#B0DF81
accent
#E10473
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161417
muted
#848385

Preview Lab

Preview with #DEC2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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