#CCABDB#CCABDB

#CCABDB is a light, moderate purple. Relative luminance 0.471; OKLCH L 78.6% C 0.076 H 315.2°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CCABDB
RGBrgb(204, 171, 219)
HSLhsl(281, 40%, 76%)
HSVhsv(281, 22%, 86%)
CMYKcmyk(6.8%, 21.9%, 0%, 14.1%)
CIE-LABlab(74.24, 20.63, -19.73)
CIE-LCHlch(74.24, 28.54, 316.27°)
OKLaboklab(78.59% 0.0538 -0.0534)
OKLCHoklch(78.59% 0.076 315.2)
XYZxyz(52.2489, 47.0783, 73.3387)
Luminance0.4708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABDB #BADBAB
analogous
#B4ABDB #CCABDB #DBABD2
triadic
#CCABDB #DBCCAB #ABDBCC
tetradic
#CCABDB #DBB4AB #BADBAB #ABD2DB
square
#CCABDB #DBB4AB #BADBAB #ABD2DB
split-complementary
#CCABDB #D2DBAB #ABDBB4
monochromatic
#9855B6 #B280C9 #CCABDB #E6D6ED #F2EAF6

Accessibility & contrast

On white

2.02
#CCABDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CCABDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABDB
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABDB#FFFFFF#000000##000000
##CCABDB1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B5DD
Deuteranopia (green-blind)
#ACB8D9
Tritanopia (blue-blind)
#CBB0BB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccabdb;
/* rgb */ color: rgb(204, 171, 219);
/* oklch */ color: oklch(78.6% 0.076 315.2);
Tailwind
colors: {
  custom: {
    50: '#dcc4e6',
    500: '#ccabdb',
    950: '#000000',
  },
}
SCSS
$custom: #ccabdb;
$custom-light: #dcc4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabdb",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 219
  },
  "hsl": {
    "h": 281.25,
    "s": 40,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78591,
    "c": 0.07578,
    "h": 315.2
  },
  "luminance": 0.47078
}

Semantic roles & 50–950 ramp

primary
#CCABDB
secondary
#E3EDDE
accent
#B3325B
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABDB

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

Preview Lab → · Contrast checker → · Palette generator →

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