#CCACE4#CCACE4

#CCACE4 is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.1% C 0.085 H 310.4°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CCACE4
RGBrgb(204, 172, 228)
HSLhsl(274, 51%, 78%)
HSVhsv(274, 25%, 89%)
CMYKcmyk(10.5%, 24.6%, 0%, 10.6%)
CIE-LABlab(74.79, 21.90, -23.79)
CIE-LCHlch(74.79, 32.34, 312.62°)
OKLaboklab(79.12% 0.055 -0.0648)
OKLCHoklch(79.12% 0.085 310.4)
XYZxyz(53.6555, 47.9443, 79.8113)
Luminance0.4794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACE4 #C4E4AC
analogous
#B0ACE4 #CCACE4 #E4ACE0
triadic
#CCACE4 #E4CCAC #ACE4CC
tetradic
#CCACE4 #E4B0AC #C4E4AC #ACE0E4
square
#CCACE4 #E4B0AC #C4E4AC #ACE0E4
split-complementary
#CCACE4 #E0E4AC #ACE4B0
monochromatic
#9350C6 #B07ED5 #CCACE4 #E8DAF3 #F1E8F7

Accessibility & contrast

On white

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

On black

10.59
#CCACE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCACE4
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCACE4#FFFFFF#000000##000000
##CCACE41.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B6E6
Deuteranopia (green-blind)
#AAB9E2
Tritanopia (blue-blind)
#CAB3BF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccace4;
/* rgb */ color: rgb(204, 172, 228);
/* oklch */ color: oklch(79.1% 0.085 310.4);
Tailwind
colors: {
  custom: {
    50: '#dcc5ec',
    500: '#ccace4',
    950: '#000000',
  },
}
SCSS
$custom: #ccace4;
$custom-light: #dcc5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ccace4",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 228
  },
  "hsl": {
    "h": 274.286,
    "s": 50.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79117,
    "c": 0.085,
    "h": 310.4
  },
  "luminance": 0.47944
}

Semantic roles & 50–950 ramp

primary
#CCACE4
secondary
#E4EFDC
accent
#BE2768
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCACE4

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

Preview Lab → · Contrast checker → · Palette generator →

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