#CCC7DD#CCC7DD

#CCC7DD is a very light, muted violet. Relative luminance 0.589; OKLCH L 84.0% C 0.031 H 296.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CCC7DD
RGBrgb(204, 199, 221)
HSLhsl(254, 24%, 82%)
HSVhsv(254, 10%, 87%)
CMYKcmyk(7.7%, 10%, 0%, 13.3%)
CIE-LABlab(81.24, 5.87, -10.29)
CIE-LCHlch(81.24, 11.85, 299.72°)
OKLaboklab(84.05% 0.0136 -0.0276)
OKLCHoklch(84.05% 0.031 296.1)
XYZxyz(58.3739, 58.9045, 76.6870)
Luminance0.5890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC7DD #D8DDC7
analogous
#C7CDDD #CCC7DD #D7C7DD
triadic
#CCC7DD #DDCCC7 #C7DDCC
tetradic
#CCC7DD #DDC7CD #D8DDC7 #C7DDD7
square
#CCC7DD #DDC7CD #D8DDC7 #C7DDD7
split-complementary
#CCC7DD #DDD7C7 #CDDDC7
monochromatic
#877BAF #A9A1C6 #CCC7DD #EEECF3 #EEECF3

Accessibility & contrast

On white

1.64
#CCC7DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CCC7DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC7DD
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC7DD#FFFFFF#000000##000000
##CCC7DD1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3CADE
Deuteranopia (green-blind)
#C3CADC
Tritanopia (blue-blind)
#C9CACE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccc7dd;
/* rgb */ color: rgb(204, 199, 221);
/* oklch */ color: oklch(84.0% 0.031 296.1);
Tailwind
colors: {
  custom: {
    50: '#dbd8e7',
    500: '#ccc7dd',
    950: '#000000',
  },
}
SCSS
$custom: #ccc7dd;
$custom-light: #dbd8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc7dd",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 221
  },
  "hsl": {
    "h": 253.636,
    "s": 24.444,
    "l": 82.353
  },
  "oklch": {
    "l": 0.84045,
    "c": 0.03077,
    "h": 296.1
  },
  "luminance": 0.58905
}

Semantic roles & 50–950 ramp

primary
#CCC7DD
secondary
#ADB495
accent
#A3438D
background
#FEFEFE
surface
#FBFBFC
border
#D4D4D5
text
#151416
muted
#848384

Preview Lab

Preview with #CCC7DD

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

Preview Lab → · Contrast checker → · Palette generator →

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