#CCABE7#CCABE7

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

Color values

HEX#CCABE7
RGBrgb(204, 171, 231)
HSLhsl(273, 56%, 79%)
HSVhsv(273, 26%, 91%)
CMYKcmyk(11.7%, 26%, 0%, 9.4%)
CIE-LABlab(74.66, 23.06, -25.63)
CIE-LCHlch(74.66, 34.48, 311.98°)
OKLaboklab(79.05% 0.0574 -0.0699)
OKLCHoklch(79.05% 0.09 309.4)
XYZxyz(53.8860, 47.7332, 81.9605)
Luminance0.4773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCABE7 #C6E7AB
analogous
#AEABE7 #CCABE7 #E7ABE4
triadic
#CCABE7 #E7CCAB #ABE7CC
tetradic
#CCABE7 #E7AEAB #C6E7AB #ABE4E7
square
#CCABE7 #E7AEAB #C6E7AB #ABE4E7
split-complementary
#CCABE7 #E4E7AB #ABE7AE
monochromatic
#924CCC #AF7BD9 #CCABE7 #E9DBF5 #F1E7F8

Accessibility & contrast

On white

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

On black

10.55
#CCABE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCABE7
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCABE7#FFFFFF#000000##000000
##CCABE71.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccabe7;
/* rgb */ color: rgb(204, 171, 231);
/* oklch */ color: oklch(79.0% 0.090 309.4);
Tailwind
colors: {
  custom: {
    50: '#dcc4ee',
    500: '#ccabe7',
    950: '#000000',
  },
}
SCSS
$custom: #ccabe7;
$custom-light: #dcc4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ccabe7",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 231
  },
  "hsl": {
    "h": 273,
    "s": 55.556,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79049,
    "c": 0.09046,
    "h": 309.4
  },
  "luminance": 0.47733
}

Semantic roles & 50–950 ramp

primary
#CCABE7
secondary
#E5EFDC
accent
#C3226B
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCABE7

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

Preview Lab → · Contrast checker → · Palette generator →

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