#CCABE9#CCABE9

#CCABE9 is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.1% C 0.093 H 308.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CCABE9
RGBrgb(204, 171, 233)
HSLhsl(272, 58%, 79%)
HSVhsv(272, 27%, 91%)
CMYKcmyk(12.4%, 26.6%, 0%, 8.6%)
CIE-LABlab(74.73, 23.48, -26.61)
CIE-LCHlch(74.73, 35.48, 311.43°)
OKLaboklab(79.13% 0.058 -0.0727)
OKLCHoklch(79.13% 0.093 308.6)
XYZxyz(54.1701, 47.8468, 83.4566)
Luminance0.4785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE9 #C8E9AB
analogous
#ADABE9 #CCABE9 #E9ABE7
triadic
#CCABE9 #E9CCAB #ABE9CC
tetradic
#CCABE9 #E9ADAB #C8E9AB #ABE7E9
square
#CCABE9 #E9ADAB #C8E9AB #ABE7E9
split-complementary
#CCABE9 #E7E9AB #ABE9AD
monochromatic
#914AD0 #AF7BDC #CCABE9 #E9DBF6 #F0E7F9

Accessibility & contrast

On white

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

On black

10.57
#CCABE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE9
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE9#FFFFFF#000000##000000
##CCABE91.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B6EC
Deuteranopia (green-blind)
#A7B8E7
Tritanopia (blue-blind)
#C9B3C1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccabe9;
/* rgb */ color: rgb(204, 171, 233);
/* oklch */ color: oklch(79.1% 0.093 308.6);
Tailwind
colors: {
  custom: {
    50: '#dcc4f0',
    500: '#ccabe9',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe9;
$custom-light: #dcc4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe9",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 233
  },
  "hsl": {
    "h": 271.935,
    "s": 58.491,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79128,
    "c": 0.09295,
    "h": 308.6
  },
  "luminance": 0.47846
}

Semantic roles & 50–950 ramp

primary
#CCABE9
secondary
#E5F0DB
accent
#C61F6D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE9

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

Preview Lab → · Contrast checker → · Palette generator →

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