#CCB9DF#CCB9DF

#CCB9DF is a light, muted violet. Relative luminance 0.529; OKLCH L 81.4% C 0.056 H 307.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CCB9DF
RGBrgb(204, 185, 223)
HSLhsl(270, 37%, 80%)
HSVhsv(270, 17%, 87%)
CMYKcmyk(8.5%, 17%, 0%, 12.5%)
CIE-LABlab(77.79, 13.80, -16.53)
CIE-LCHlch(77.79, 21.53, 309.86°)
OKLaboklab(81.38% 0.0345 -0.0446)
OKLCHoklch(81.38% 0.056 307.7)
XYZxyz(55.5677, 52.8632, 77.0740)
Luminance0.5286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB9DF #CCDFB9
analogous
#B9B9DF #CCB9DF #DFB9DF
triadic
#CCB9DF #DFCCB9 #B9DFCC
tetradic
#CCB9DF #DFB9B9 #CCDFB9 #B9DFDF
square
#CCB9DF #DFB9B9 #CCDFB9 #B9DFDF
split-complementary
#CCB9DF #DFDFB9 #B9DFB9
monochromatic
#8F65B9 #AD8FCC #CCB9DF #EBE3F2 #F0EAF5

Accessibility & contrast

On white

1.81
#CCB9DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CCB9DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB9DF
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB9DF#FFFFFF#000000##000000
##CCB9DF1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3BFE1
Deuteranopia (green-blind)
#B7C1DE
Tritanopia (blue-blind)
#CABEC6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccb9df;
/* rgb */ color: rgb(204, 185, 223);
/* oklch */ color: oklch(81.4% 0.056 307.7);
Tailwind
colors: {
  custom: {
    50: '#dbcee9',
    500: '#ccb9df',
    950: '#000000',
  },
}
SCSS
$custom: #ccb9df;
$custom-light: #dbcee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb9df",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 37.255,
    "l": 80
  },
  "oklch": {
    "l": 0.81383,
    "c": 0.05641,
    "h": 307.7
  },
  "luminance": 0.52863
}

Semantic roles & 50–950 ramp

primary
#CCB9DF
secondary
#9EB785
accent
#B03573
background
#FEFEFE
surface
#FCFAFC
border
#D5D3D5
text
#151316
muted
#848384

Preview Lab

Preview with #CCB9DF

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

Preview Lab → · Contrast checker → · Palette generator →

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