#DCCAFE#DCCAFE

#DCCAFE is a very light, moderate violet. Relative luminance 0.646; OKLCH L 87.1% C 0.073 H 300.7°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#DCCAFE
RGBrgb(220, 202, 254)
HSLhsl(261, 96%, 89%)
HSVhsv(261, 20%, 100%)
CMYKcmyk(13.4%, 20.5%, 0%, 0.4%)
CIE-LABlab(84.28, 16.07, -23.18)
CIE-LCHlch(84.28, 28.21, 304.74°)
OKLaboklab(87.06% 0.0375 -0.0631)
OKLCHoklch(87.06% 0.073 300.7)
XYZxyz(68.5216, 64.6124, 102.6083)
Luminance0.6461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCAFE #ECFECA
analogous
#CAD2FE #DCCAFE #F6CAFE
triadic
#DCCAFE #FEDCCA #CAFEDC
tetradic
#DCCAFE #FECAD2 #ECFECA #CAFEF6
square
#DCCAFE #FECAD2 #ECFECA #CAFEF6
split-complementary
#DCCAFE #FEF6CA #D2FECA
monochromatic
#8D52FC #B48EFD #DCCAFE #EBE1FE #EBE1FE

Accessibility & contrast

On white

1.51
#DCCAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#DCCAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCAFE
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCAFE#FFFFFF#000000##000000
##DCCAFE1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0D2FF
Deuteranopia (green-blind)
#C3D2FC
Tritanopia (blue-blind)
#D7D1DC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dccafe;
/* rgb */ color: rgb(220, 202, 254);
/* oklch */ color: oklch(87.1% 0.073 300.7);
Tailwind
colors: {
  custom: {
    50: '#e7dafe',
    500: '#dccafe',
    950: '#000000',
  },
}
SCSS
$custom: #dccafe;
$custom-light: #e7dafe;
$custom-dark: #000000;
JSON
{
  "hex": "#dccafe",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 254
  },
  "hsl": {
    "h": 260.769,
    "s": 96.296,
    "l": 89.412
  },
  "oklch": {
    "l": 0.87064,
    "c": 0.07334,
    "h": 300.7
  },
  "luminance": 0.64612
}

Semantic roles & 50–950 ramp

primary
#DCCAFE
secondary
#C5E785
accent
#E60096
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #DCCAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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