#CCABCC#CCABCC

#CCABCC is a light, muted purple. Relative luminance 0.463; OKLCH L 78.1% C 0.059 H 326.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CCABCC
RGBrgb(204, 171, 204)
HSLhsl(300, 24%, 74%)
HSVhsv(300, 16%, 80%)
CMYKcmyk(0%, 16.2%, 0%, 20%)
CIE-LABlab(73.76, 17.72, -12.26)
CIE-LCHlch(73.76, 21.55, 325.33°)
OKLaboklab(78.06% 0.0489 -0.0328)
OKLCHoklch(78.06% 0.059 326.1)
XYZxyz(50.3625, 46.3238, 63.4034)
Luminance0.4632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABCC #ABCCAB
analogous
#BBABCC #CCABCC #CCABBB
triadic
#CCABCC #CCCCAB #ABCCCC
tetradic
#CCABCC #CCBBAB #ABCCAB #ABBBCC
square
#CCABCC #CCBBAB #ABCCAB #ABBBCC
split-complementary
#CCABCC #BBCCAB #ABCCBB
monochromatic
#9D5F9D #B585B5 #CCABCC #E3D1E3 #F3ECF3

Accessibility & contrast

On white

2.05
#CCABCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CCABCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABCC
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABCC#FFFFFF#000000##000000
##CCABCC1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B3CD
Deuteranopia (green-blind)
#B0B7CB
Tritanopia (blue-blind)
#CEAEB6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccabcc;
/* rgb */ color: rgb(204, 171, 204);
/* oklch */ color: oklch(78.1% 0.059 326.1);
Tailwind
colors: {
  custom: {
    50: '#dbc4db',
    500: '#ccabcc',
    950: '#000000',
  },
}
SCSS
$custom: #ccabcc;
$custom-light: #dbc4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabcc",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 24.444,
    "l": 73.529
  },
  "oklch": {
    "l": 0.78057,
    "c": 0.05883,
    "h": 326.1
  },
  "luminance": 0.46323
}

Semantic roles & 50–950 ramp

primary
#CCABCC
secondary
#E1EAE1
accent
#A34343
background
#FDFCFD
surface
#FBF8FB
border
#D4D1D4
text
#151215
muted
#838183

Preview Lab

Preview with #CCABCC

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

Preview Lab → · Contrast checker → · Palette generator →

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