#CCABE6#CCABE6

#CCABE6 is a light, moderate violet. Relative luminance 0.477; OKLCH L 79.0% C 0.089 H 309.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CCABE6
RGBrgb(204, 171, 230)
HSLhsl(274, 54%, 79%)
HSVhsv(274, 26%, 90%)
CMYKcmyk(11.3%, 25.7%, 0%, 9.8%)
CIE-LABlab(74.62, 22.86, -25.14)
CIE-LCHlch(74.62, 33.98, 312.28°)
OKLaboklab(79.01% 0.0571 -0.0685)
OKLCHoklch(79.01% 0.089 309.8)
XYZxyz(53.7452, 47.6768, 81.2188)
Luminance0.4768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE6 #C5E6AB
analogous
#AEABE6 #CCABE6 #E6ABE2
triadic
#CCABE6 #E6CCAB #ABE6CC
tetradic
#CCABE6 #E6AEAB #C5E6AB #ABE2E6
square
#CCABE6 #E6AEAB #C5E6AB #ABE2E6
split-complementary
#CCABE6 #E2E6AB #ABE6AE
monochromatic
#934DCA #AF7CD8 #CCABE6 #E9DAF4 #F1E7F8

Accessibility & contrast

On white

1.99
#CCABE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CCABE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE6
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE6#FFFFFF#000000##000000
##CCABE61.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B6E8
Deuteranopia (green-blind)
#A8B8E4
Tritanopia (blue-blind)
#C9B3C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccabe6;
/* rgb */ color: rgb(204, 171, 230);
/* oklch */ color: oklch(79.0% 0.089 309.8);
Tailwind
colors: {
  custom: {
    50: '#dcc4ee',
    500: '#ccabe6',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe6;
$custom-light: #dcc4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe6",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 230
  },
  "hsl": {
    "h": 273.559,
    "s": 54.128,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7901,
    "c": 0.0892,
    "h": 309.8
  },
  "luminance": 0.47676
}

Semantic roles & 50–950 ramp

primary
#CCABE6
secondary
#E4EFDC
accent
#C22469
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE6

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

Preview Lab → · Contrast checker → · Palette generator →

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