#CCCAFE#CCCAFE

#CCCAFE is a very light, moderate blue. Relative luminance 0.622; OKLCH L 85.8% C 0.072 H 286.5°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CCCAFE
RGBrgb(204, 202, 254)
HSLhsl(242, 96%, 89%)
HSVhsv(242, 20%, 100%)
CMYKcmyk(19.7%, 20.5%, 0%, 0.4%)
CIE-LABlab(83.04, 11.15, -25.19)
CIE-LCHlch(83.04, 27.55, 293.87°)
OKLaboklab(85.79% 0.0205 -0.0689)
OKLCHoklch(85.79% 0.072 286.5)
XYZxyz(63.9076, 62.2333, 102.3920)
Luminance0.6223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCAFE #FCFECA
analogous
#CAE2FE #CCCAFE #E6CAFE
triadic
#CCCAFE #FECCCA #CAFECC
tetradic
#CCCAFE #FECAE2 #FCFECA #CAFEE6
square
#CCCAFE #FECAE2 #FCFECA #CAFEE6
split-complementary
#CCCAFE #FEE6CA #E2FECA
monochromatic
#5852FC #928EFD #CCCAFE #E2E1FE #E2E1FE

Accessibility & contrast

On white

1.56
#CCCAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CCCAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCAFE
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCAFE#FFFFFF#000000##000000
##CCCAFE1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FF
Deuteranopia (green-blind)
#BCCDFD
Tritanopia (blue-blind)
#C1D3DC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cccafe;
/* rgb */ color: rgb(204, 202, 254);
/* oklch */ color: oklch(85.8% 0.072 286.5);
Tailwind
colors: {
  custom: {
    50: '#dcdafe',
    500: '#cccafe',
    950: '#000000',
  },
}
SCSS
$custom: #cccafe;
$custom-light: #dcdafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cccafe",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 254
  },
  "hsl": {
    "h": 242.308,
    "s": 96.296,
    "l": 89.412
  },
  "oklch": {
    "l": 0.85793,
    "c": 0.07186,
    "h": 286.5
  },
  "luminance": 0.62234
}

Semantic roles & 50–950 ramp

primary
#CCCAFE
secondary
#E3E785
accent
#E600DD
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CCCAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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