#CCACEF#CCACEF

#CCACEF is a light, moderate violet. Relative luminance 0.486; OKLCH L 79.6% C 0.099 H 306.1°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CCACEF
RGBrgb(204, 172, 239)
HSLhsl(269, 68%, 81%)
HSVhsv(269, 28%, 94%)
CMYKcmyk(14.6%, 28%, 0%, 6.3%)
CIE-LABlab(75.19, 24.20, -29.16)
CIE-LCHlch(75.19, 37.89, 309.69°)
OKLaboklab(79.55% 0.0582 -0.0799)
OKLCHoklch(79.55% 0.099 306.1)
XYZxyz(55.2314, 48.5747, 88.1108)
Luminance0.4857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACEF #CFEFAC
analogous
#ACADEF #CCACEF #EEACEF
triadic
#CCACEF #EFCCAC #ACEFCC
tetradic
#CCACEF #EFACAD #CFEFAC #ACEFEE
square
#CCACEF #EFACAD #CFEFAC #ACEFEE
split-complementary
#CCACEF #EFEEAC #ADEFAC
monochromatic
#8D45DB #AC79E5 #CCACEF #ECDFF9 #EFE5FA

Accessibility & contrast

On white

1.96
#CCACEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CCACEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACEF
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACEF#FFFFFF#000000##000000
##CCACEF1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B8F2
Deuteranopia (green-blind)
#A6B9ED
Tritanopia (blue-blind)
#C7B5C4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccacef;
/* rgb */ color: rgb(204, 172, 239);
/* oklch */ color: oklch(79.6% 0.099 306.1);
Tailwind
colors: {
  custom: {
    50: '#dcc5f4',
    500: '#ccacef',
    950: '#000000',
  },
}
SCSS
$custom: #ccacef;
$custom-light: #dcc5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccacef",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 239
  },
  "hsl": {
    "h": 268.657,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79552,
    "c": 0.09884,
    "h": 306.1
  },
  "luminance": 0.48574
}

Semantic roles & 50–950 ramp

primary
#CCACEF
secondary
#E6F2D9
accent
#D01677
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CCACEF

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

Preview Lab → · Contrast checker → · Palette generator →

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