#CCB7DB#CCB7DB

#CCB7DB is a light, muted violet. Relative luminance 0.518; OKLCH L 80.9% C 0.055 H 311.2°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CCB7DB
RGBrgb(204, 183, 219)
HSLhsl(275, 33%, 79%)
HSVhsv(275, 16%, 86%)
CMYKcmyk(6.8%, 16.4%, 0%, 14.1%)
CIE-LABlab(77.17, 14.09, -15.30)
CIE-LCHlch(77.17, 20.80, 312.64°)
OKLaboklab(80.86% 0.0361 -0.0412)
OKLCHoklch(80.86% 0.055 311.2)
XYZxyz(54.6194, 51.8192, 74.1288)
Luminance0.5182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7DB #C6DBB7
analogous
#BAB7DB #CCB7DB #DBB7D8
triadic
#CCB7DB #DBCCB7 #B7DBCC
tetradic
#CCB7DB #DBBAB7 #C6DBB7 #B7D8DB
square
#CCB7DB #DBBAB7 #C6DBB7 #B7D8DB
split-complementary
#CCB7DB #D8DBB7 #B7DBBA
monochromatic
#9265B2 #AF8EC7 #CCB7DB #E9E0EF #F1EBF5

Accessibility & contrast

On white

1.85
#CCB7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CCB7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7DB
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7DB#FFFFFF#000000##000000
##CCB7DB1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2BDDD
Deuteranopia (green-blind)
#B6BFDA
Tritanopia (blue-blind)
#CBBBC3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccb7db;
/* rgb */ color: rgb(204, 183, 219);
/* oklch */ color: oklch(80.9% 0.055 311.2);
Tailwind
colors: {
  custom: {
    50: '#dbcce6',
    500: '#ccb7db',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7db;
$custom-light: #dbcce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7db",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 219
  },
  "hsl": {
    "h": 275,
    "s": 33.333,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.05478,
    "h": 311.2
  },
  "luminance": 0.51819
}

Semantic roles & 50–950 ramp

primary
#CCB7DB
secondary
#97B284
accent
#AC3969
background
#FEFEFE
surface
#FCFAFC
border
#D5D3D5
text
#151315
muted
#848384

Preview Lab

Preview with #CCB7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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