#DECAFF#DECAFF

#DECAFF is a very light, moderate violet. Relative luminance 0.650; OKLCH L 87.3% C 0.075 H 302.1°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DECAFF
RGBrgb(222, 202, 255)
HSLhsl(263, 100%, 90%)
HSVhsv(263, 21%, 100%)
CMYKcmyk(12.9%, 20.8%, 0%, 0%)
CIE-LABlab(84.48, 16.91, -23.40)
CIE-LCHlch(84.48, 28.87, 305.85°)
OKLaboklab(87.27% 0.0399 -0.0636)
OKLCHoklch(87.27% 0.075 302.1)
XYZxyz(69.2912, 64.9907, 103.4824)
Luminance0.6499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECAFF #EBFFCA
analogous
#CAD1FF #DECAFF #F9CAFF
triadic
#DECAFF #FFDECA #CAFFDE
tetradic
#DECAFF #FFCAD1 #EBFFCA #CAFFF9
square
#DECAFF #FFCAD1 #EBFFCA #CAFFF9
split-complementary
#DECAFF #FFF9CA #D1FFCA
monochromatic
#9250FF #B88DFF #DECAFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.50
#DECAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DECAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECAFF
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECAFF#FFFFFF#000000##000000
##DECAFF1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0D2FF
Deuteranopia (green-blind)
#C3D3FD
Tritanopia (blue-blind)
#D9D1DC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #decaff;
/* rgb */ color: rgb(222, 202, 255);
/* oklch */ color: oklch(87.3% 0.075 302.1);
Tailwind
colors: {
  custom: {
    50: '#e8daff',
    500: '#decaff',
    950: '#000000',
  },
}
SCSS
$custom: #decaff;
$custom-light: #e8daff;
$custom-dark: #000000;
JSON
{
  "hex": "#decaff",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 255
  },
  "hsl": {
    "h": 262.642,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.87266,
    "c": 0.07513,
    "h": 302.1
  },
  "luminance": 0.64991
}

Semantic roles & 50–950 ramp

primary
#DECAFF
secondary
#C3E984
accent
#E6008F
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DECAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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