#CCACE7#CCACE7

#CCACE7 is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.2% C 0.089 H 309.1°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CCACE7
RGBrgb(204, 172, 231)
HSLhsl(273, 55%, 79%)
HSVhsv(273, 26%, 91%)
CMYKcmyk(11.7%, 25.5%, 0%, 9.4%)
CIE-LABlab(74.90, 22.52, -25.26)
CIE-LCHlch(74.90, 33.84, 311.71°)
OKLaboklab(79.23% 0.0559 -0.0689)
OKLCHoklch(79.23% 0.089 309.1)
XYZxyz(54.0756, 48.1124, 82.0237)
Luminance0.4811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACE7 #C7E7AC
analogous
#AFACE7 #CCACE7 #E7ACE5
triadic
#CCACE7 #E7CCAC #ACE7CC
tetradic
#CCACE7 #E7AFAC #C7E7AC #ACE5E7
square
#CCACE7 #E7AFAC #C7E7AC #ACE5E7
split-complementary
#CCACE7 #E5E7AC #ACE7AF
monochromatic
#924DCC #AF7DD9 #CCACE7 #E9DBF5 #F0E7F8

Accessibility & contrast

On white

1.98
#CCACE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CCACE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACE7
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACE7#FFFFFF#000000##000000
##CCACE71.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B7E9
Deuteranopia (green-blind)
#A9B9E5
Tritanopia (blue-blind)
#C9B4C1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccace7;
/* rgb */ color: rgb(204, 172, 231);
/* oklch */ color: oklch(79.2% 0.089 309.1);
Tailwind
colors: {
  custom: {
    50: '#dcc5ee',
    500: '#ccace7',
    950: '#000000',
  },
}
SCSS
$custom: #ccace7;
$custom-light: #dcc5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ccace7",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 231
  },
  "hsl": {
    "h": 272.542,
    "s": 55.14,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79233,
    "c": 0.08874,
    "h": 309.1
  },
  "luminance": 0.48112
}

Semantic roles & 50–950 ramp

primary
#CCACE7
secondary
#E5EFDC
accent
#C3236C
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCACE7

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

Preview Lab → · Contrast checker → · Palette generator →

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