#CCACE2#CCACE2

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

Color values

HEX#CCACE2
RGBrgb(204, 172, 226)
HSLhsl(276, 48%, 78%)
HSVhsv(276, 24%, 89%)
CMYKcmyk(9.7%, 23.9%, 0%, 11.4%)
CIE-LABlab(74.72, 21.49, -22.81)
CIE-LCHlch(74.72, 31.34, 313.29°)
OKLaboklab(79.04% 0.0544 -0.062)
OKLCHoklch(79.04% 0.083 311.3)
XYZxyz(53.3795, 47.8339, 78.3576)
Luminance0.4783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCACE2 #C2E2AC
analogous
#B1ACE2 #CCACE2 #E2ACDD
triadic
#CCACE2 #E2CCAC #ACE2CC
tetradic
#CCACE2 #E2B1AC #C2E2AC #ACDDE2
square
#CCACE2 #E2B1AC #C2E2AC #ACDDE2
split-complementary
#CCACE2 #DDE2AC #ACE2B1
monochromatic
#9451C2 #B07FD2 #CCACE2 #E8D9F2 #F1E8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCACE2#FFFFFF#000000##000000
##CCACE21.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)
#A4B6E4
Deuteranopia (green-blind)
#AAB9E0
Tritanopia (blue-blind)
#CAB3BF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccace2;
/* rgb */ color: rgb(204, 172, 226);
/* oklch */ color: oklch(79.0% 0.083 311.3);
Tailwind
colors: {
  custom: {
    50: '#dcc5eb',
    500: '#ccace2',
    950: '#000000',
  },
}
SCSS
$custom: #ccace2;
$custom-light: #dcc5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccace2",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 226
  },
  "hsl": {
    "h": 275.556,
    "s": 48.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7904,
    "c": 0.08253,
    "h": 311.3
  },
  "luminance": 0.47833
}

Semantic roles & 50–950 ramp

primary
#CCACE2
secondary
#E4EEDD
accent
#BB2A65
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCACE2

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

Preview Lab → · Contrast checker → · Palette generator →

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