#CCABCF#CCABCF

#CCABCF is a light, moderate purple. Relative luminance 0.465; OKLCH L 78.2% C 0.062 H 323.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CCABCF
RGBrgb(204, 171, 207)
HSLhsl(295, 27%, 74%)
HSVhsv(295, 17%, 81%)
CMYKcmyk(1.4%, 17.4%, 0%, 18.8%)
CIE-LABlab(73.85, 18.29, -13.76)
CIE-LCHlch(73.85, 22.89, 323.04°)
OKLaboklab(78.16% 0.0499 -0.0369)
OKLCHoklch(78.16% 0.062 323.5)
XYZxyz(50.7258, 46.4691, 65.3166)
Luminance0.4647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABCF #AECFAB
analogous
#BAABCF #CCABCF #CFABC0
triadic
#CCABCF #CFCCAB #ABCFCC
tetradic
#CCABCF #CFBAAB #AECFAB #ABC0CF
square
#CCABCF #CFBAAB #AECFAB #ABC0CF
split-complementary
#CCABCF #C0CFAB #ABCFBA
monochromatic
#9D5DA2 #B484B9 #CCABCF #E4D2E5 #F3ECF4

Accessibility & contrast

On white

2.04
#CCABCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#CCABCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABCF
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABCF#FFFFFF#000000##000000
##CCABCF1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B3D1
Deuteranopia (green-blind)
#AFB7CE
Tritanopia (blue-blind)
#CEAEB7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccabcf;
/* rgb */ color: rgb(204, 171, 207);
/* oklch */ color: oklch(78.2% 0.062 323.5);
Tailwind
colors: {
  custom: {
    50: '#dbc4dd',
    500: '#ccabcf',
    950: '#000000',
  },
}
SCSS
$custom: #ccabcf;
$custom-light: #dbc4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabcf",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 207
  },
  "hsl": {
    "h": 295,
    "s": 27.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7816,
    "c": 0.06204,
    "h": 323.5
  },
  "luminance": 0.46468
}

Semantic roles & 50–950 ramp

primary
#CCABCF
secondary
#E1EAE1
accent
#A64048
background
#FDFCFD
surface
#FBF8FB
border
#D4D1D4
text
#151215
muted
#838183

Preview Lab

Preview with #CCABCF

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

Preview Lab → · Contrast checker → · Palette generator →

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