#CCABE2#CCABE2

#CCABE2 is a light, moderate violet. Relative luminance 0.475; OKLCH L 78.9% C 0.084 H 311.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CCABE2
RGBrgb(204, 171, 226)
HSLhsl(276, 49%, 78%)
HSVhsv(276, 24%, 89%)
CMYKcmyk(9.7%, 24.3%, 0%, 11.4%)
CIE-LABlab(74.48, 22.04, -23.18)
CIE-LCHlch(74.48, 31.98, 313.55°)
OKLaboklab(78.86% 0.0559 -0.063)
OKLCHoklch(78.86% 0.084 311.6)
XYZxyz(53.1899, 47.4547, 78.2944)
Luminance0.4745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE2 #C1E2AB
analogous
#B0ABE2 #CCABE2 #E2ABDC
triadic
#CCABE2 #E2CCAB #ABE2CC
tetradic
#CCABE2 #E2B0AB #C1E2AB #ABDCE2
square
#CCABE2 #E2B0AB #C1E2AB #ABDCE2
split-complementary
#CCABE2 #DCE2AB #ABE2B0
monochromatic
#9550C3 #B07ED2 #CCABE2 #E8D8F2 #F1E8F7

Accessibility & contrast

On white

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

On black

10.49
#CCABE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE2
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE2#FFFFFF#000000##000000
##CCABE21.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B5E4
Deuteranopia (green-blind)
#A9B8E0
Tritanopia (blue-blind)
#CAB2BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccabe2;
/* rgb */ color: rgb(204, 171, 226);
/* oklch */ color: oklch(78.9% 0.084 311.6);
Tailwind
colors: {
  custom: {
    50: '#dcc4eb',
    500: '#ccabe2',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe2;
$custom-light: #dcc4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe2",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 226
  },
  "hsl": {
    "h": 276,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78855,
    "c": 0.08426,
    "h": 311.6
  },
  "luminance": 0.47454
}

Semantic roles & 50–950 ramp

primary
#CCABE2
secondary
#E4EEDD
accent
#BC2A64
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE2

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

Preview Lab → · Contrast checker → · Palette generator →

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