#CCC7FF#CCC7FF

#CCC7FF is a very light, moderate blue. Relative luminance 0.609; OKLCH L 85.3% C 0.078 H 288.7°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#CCC7FF
RGBrgb(204, 199, 255)
HSLhsl(245, 100%, 89%)
HSVhsv(245, 22%, 100%)
CMYKcmyk(20%, 22%, 0%, 0%)
CIE-LABlab(82.33, 12.98, -26.81)
CIE-LCHlch(82.33, 29.78, 295.84°)
OKLaboklab(85.25% 0.0249 -0.0734)
OKLCHoklch(85.25% 0.078 288.7)
XYZxyz(63.3711, 60.9034, 103.0052)
Luminance0.6090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC7FF #FAFFC7
analogous
#C7DEFF #CCC7FF #E8C7FF
triadic
#CCC7FF #FFCCC7 #C7FFCC
tetradic
#CCC7FF #FFC7DE #FAFFC7 #C7FFE8
square
#CCC7FF #FFC7DE #FAFFC7 #C7FFE8
split-complementary
#CCC7FF #FFE8C7 #DEFFC7
monochromatic
#5D4DFF #948AFF #CCC7FF #E3E0FF #E3E0FF

Accessibility & contrast

On white

1.59
#CCC7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CCC7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC7FF
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC7FF#FFFFFF#000000##000000
##CCC7FF1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BACEFF
Deuteranopia (green-blind)
#B9CCFD
Tritanopia (blue-blind)
#C1D0DA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccc7ff;
/* rgb */ color: rgb(204, 199, 255);
/* oklch */ color: oklch(85.3% 0.078 288.7);
Tailwind
colors: {
  custom: {
    50: '#dcd8ff',
    500: '#ccc7ff',
    950: '#000000',
  },
}
SCSS
$custom: #ccc7ff;
$custom-light: #dcd8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc7ff",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 245.357,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.85252,
    "c": 0.07751,
    "h": 288.7
  },
  "luminance": 0.60904
}

Semantic roles & 50–950 ramp

primary
#CCC7FF
secondary
#E0E981
accent
#E600D1
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CCC7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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