#CCC8FE#CCC8FE

#CCC8FE is a very light, moderate blue. Relative luminance 0.613; OKLCH L 85.4% C 0.075 H 288.1°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#CCC8FE
RGBrgb(204, 200, 254)
HSLhsl(244, 96%, 89%)
HSVhsv(244, 21%, 100%)
CMYKcmyk(19.7%, 21.3%, 0%, 0.4%)
CIE-LABlab(82.54, 12.22, -25.95)
CIE-LCHlch(82.54, 28.68, 295.23°)
OKLaboklab(85.41% 0.0232 -0.071)
OKLCHoklch(85.41% 0.075 288.1)
XYZxyz(63.4413, 61.3008, 102.2366)
Luminance0.6130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC8FE #FAFEC8
analogous
#C8DFFE #CCC8FE #E7C8FE
triadic
#CCC8FE #FECCC8 #C8FECC
tetradic
#CCC8FE #FEC8DF #FAFEC8 #C8FEE7
square
#CCC8FE #FEC8DF #FAFEC8 #C8FEE7
split-complementary
#CCC8FE #FEE7C8 #DFFEC8
monochromatic
#5D50FC #948CFD #CCC8FE #E3E1FE #E3E1FE

Accessibility & contrast

On white

1.58
#CCC8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#CCC8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC8FE
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC8FE#FFFFFF#000000##000000
##CCC8FE1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCFFF
Deuteranopia (green-blind)
#BACCFD
Tritanopia (blue-blind)
#C2D1DA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccc8fe;
/* rgb */ color: rgb(204, 200, 254);
/* oklch */ color: oklch(85.4% 0.075 288.1);
Tailwind
colors: {
  custom: {
    50: '#dcd8ff',
    500: '#ccc8fe',
    950: '#000000',
  },
}
SCSS
$custom: #ccc8fe;
$custom-light: #dcd8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc8fe",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 254
  },
  "hsl": {
    "h": 244.444,
    "s": 96.429,
    "l": 89.02
  },
  "oklch": {
    "l": 0.85407,
    "c": 0.0747,
    "h": 288.1
  },
  "luminance": 0.61302
}

Semantic roles & 50–950 ramp

primary
#CCC8FE
secondary
#E0E783
accent
#E600D5
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CCC8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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