#DECAF2#DECAF2

#DECAF2 is a very light, muted violet. Relative luminance 0.642; OKLCH L 86.8% C 0.058 H 307.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DECAF2
RGBrgb(222, 202, 242)
HSLhsl(270, 61%, 87%)
HSVhsv(270, 17%, 95%)
CMYKcmyk(8.3%, 16.5%, 0%, 5.1%)
CIE-LABlab(84.06, 14.29, -17.13)
CIE-LCHlch(84.06, 22.31, 309.84°)
OKLaboklab(86.8% 0.0357 -0.0462)
OKLCHoklch(86.8% 0.058 307.7)
XYZxyz(67.2689, 64.1817, 92.8317)
Luminance0.6418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECAF2 #DEF2CA
analogous
#CACAF2 #DECAF2 #F2CAF2
triadic
#DECAF2 #F2DECA #CAF2DE
tetradic
#DECAF2 #F2CACA #DEF2CA #CAF2F2
square
#DECAF2 #F2CACA #DEF2CA #CAF2F2
split-complementary
#DECAF2 #F2F2CA #CAF2CA
monochromatic
#A168DA #BF99E6 #DECAF2 #F0E6F9 #F0E6F9

Accessibility & contrast

On white

1.52
#DECAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#DECAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECAF2
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECAF2#FFFFFF#000000##000000
##DECAF21.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4D1F4
Deuteranopia (green-blind)
#C7D2F1
Tritanopia (blue-blind)
#DCCFD7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #decaf2;
/* rgb */ color: rgb(222, 202, 242);
/* oklch */ color: oklch(86.8% 0.058 307.7);
Tailwind
colors: {
  custom: {
    50: '#e8daf6',
    500: '#decaf2',
    950: '#000000',
  },
}
SCSS
$custom: #decaf2;
$custom-light: #e8daf6;
$custom-dark: #000000;
JSON
{
  "hex": "#decaf2",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.86803,
    "c": 0.05844,
    "h": 307.7
  },
  "luminance": 0.64181
}

Semantic roles & 50–950 ramp

primary
#DECAF2
secondary
#B0D28F
accent
#C81D73
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#161417
muted
#848385

Preview Lab

Preview with #DECAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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