#CCB8DC#CCB8DC

#CCB8DC is a light, muted violet. Relative luminance 0.523; OKLCH L 81.1% C 0.054 H 310.0°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CCB8DC
RGBrgb(204, 184, 220)
HSLhsl(273, 34%, 79%)
HSVhsv(273, 16%, 86%)
CMYKcmyk(7.3%, 16.4%, 0%, 13.7%)
CIE-LABlab(77.45, 13.74, -15.42)
CIE-LCHlch(77.45, 20.66, 311.70°)
OKLaboklab(81.09% 0.035 -0.0416)
OKLCHoklch(81.09% 0.054 310)
XYZxyz(54.9584, 52.2860, 74.8932)
Luminance0.5229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB8DC #C8DCB8
analogous
#BAB8DC #CCB8DC #DCB8DA
triadic
#CCB8DC #DCCCB8 #B8DCCC
tetradic
#CCB8DC #DCBAB8 #C8DCB8 #B8DADC
square
#CCB8DC #DCBAB8 #C8DCB8 #B8DADC
split-complementary
#CCB8DC #DADCB8 #B8DCBA
monochromatic
#9166B4 #AF8FC8 #CCB8DC #E9E1F0 #F0EBF5

Accessibility & contrast

On white

1.83
#CCB8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CCB8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB8DC
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB8DC#FFFFFF#000000##000000
##CCB8DC1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3BEDE
Deuteranopia (green-blind)
#B7C0DB
Tritanopia (blue-blind)
#CABCC4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccb8dc;
/* rgb */ color: rgb(204, 184, 220);
/* oklch */ color: oklch(81.1% 0.054 310.0);
Tailwind
colors: {
  custom: {
    50: '#dbcde6',
    500: '#ccb8dc',
    950: '#000000',
  },
}
SCSS
$custom: #ccb8dc;
$custom-light: #dbcde6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb8dc",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 220
  },
  "hsl": {
    "h": 273.333,
    "s": 33.962,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81086,
    "c": 0.05432,
    "h": 310
  },
  "luminance": 0.52286
}

Semantic roles & 50–950 ramp

primary
#CCB8DC
secondary
#99B485
accent
#AD396C
background
#FEFEFE
surface
#FCFAFC
border
#D5D3D5
text
#151316
muted
#848384

Preview Lab

Preview with #CCB8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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