#CCABE5#CCABE5

#CCABE5 is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.0% C 0.088 H 310.2°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CCABE5
RGBrgb(204, 171, 229)
HSLhsl(274, 53%, 78%)
HSVhsv(274, 25%, 90%)
CMYKcmyk(10.9%, 25.3%, 0%, 10.2%)
CIE-LABlab(74.59, 22.65, -24.65)
CIE-LCHlch(74.59, 33.48, 312.58°)
OKLaboklab(78.97% 0.0568 -0.0672)
OKLCHoklch(78.97% 0.088 310.2)
XYZxyz(53.6051, 47.6208, 80.4813)
Luminance0.4762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE5 #C4E5AB
analogous
#AFABE5 #CCABE5 #E5ABE1
triadic
#CCABE5 #E5CCAB #ABE5CC
tetradic
#CCABE5 #E5AFAB #C4E5AB #ABE1E5
square
#CCABE5 #E5AFAB #C4E5AB #ABE1E5
split-complementary
#CCABE5 #E1E5AB #ABE5AF
monochromatic
#934EC8 #B07CD7 #CCABE5 #E8DAF3 #F1E8F8

Accessibility & contrast

On white

2.00
#CCABE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CCABE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE5
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE5#FFFFFF#000000##000000
##CCABE51.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B6E7
Deuteranopia (green-blind)
#A8B8E3
Tritanopia (blue-blind)
#C9B2BF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccabe5;
/* rgb */ color: rgb(204, 171, 229);
/* oklch */ color: oklch(79.0% 0.088 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcc4ed',
    500: '#ccabe5',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe5;
$custom-light: #dcc4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe5",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 229
  },
  "hsl": {
    "h": 274.138,
    "s": 52.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78971,
    "c": 0.08797,
    "h": 310.2
  },
  "luminance": 0.4762
}

Semantic roles & 50–950 ramp

primary
#CCABE5
secondary
#E4EFDC
accent
#C02568
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE5

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

Preview Lab → · Contrast checker → · Palette generator →

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