#CCC7DB#CCC7DB

#CCC7DB is a very light, muted violet. Relative luminance 0.588; OKLCH L 84.0% C 0.028 H 297.2°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CCC7DB
RGBrgb(204, 199, 219)
HSLhsl(255, 22%, 82%)
HSVhsv(255, 9%, 86%)
CMYKcmyk(6.8%, 9.1%, 0%, 14.1%)
CIE-LABlab(81.18, 5.48, -9.31)
CIE-LCHlch(81.18, 10.80, 300.50°)
OKLaboklab(83.98% 0.0128 -0.0249)
OKLCHoklch(83.98% 0.028 297.2)
XYZxyz(58.1091, 58.7986, 75.2920)
Luminance0.5880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC7DB #D6DBC7
analogous
#C7CCDB #CCC7DB #D6C7DB
triadic
#CCC7DB #DBCCC7 #C7DBCC
tetradic
#CCC7DB #DBC7CC #D6DBC7 #C7DBD6
square
#CCC7DB #DBC7CC #D6DBC7 #C7DBD6
split-complementary
#CCC7DB #DBD6C7 #CCDBC7
monochromatic
#887CAB #AAA2C3 #CCC7DB #EEECF3 #EEECF3

Accessibility & contrast

On white

1.65
#CCC7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CCC7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC7DB
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC7DB#FFFFFF#000000##000000
##CCC7DB1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc7db;
/* rgb */ color: rgb(204, 199, 219);
/* oklch */ color: oklch(84.0% 0.028 297.2);
Tailwind
colors: {
  custom: {
    50: '#dbd8e6',
    500: '#ccc7db',
    950: '#000000',
  },
}
SCSS
$custom: #ccc7db;
$custom-light: #dbd8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc7db",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 219
  },
  "hsl": {
    "h": 255,
    "s": 21.739,
    "l": 81.961
  },
  "oklch": {
    "l": 0.83981,
    "c": 0.02805,
    "h": 297.2
  },
  "luminance": 0.58799
}

Semantic roles & 50–950 ramp

primary
#CCC7DB
secondary
#AAB195
accent
#A04589
background
#FEFEFE
surface
#FBFBFC
border
#D4D4D5
text
#151415
muted
#848384

Preview Lab

Preview with #CCC7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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