#CCA4E2#CCA4E2

#CCA4E2 is a light, moderate violet. Relative luminance 0.449; OKLCH L 77.6% C 0.096 H 313.3°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CCA4E2
RGBrgb(204, 164, 226)
HSLhsl(279, 52%, 76%)
HSVhsv(279, 27%, 89%)
CMYKcmyk(9.7%, 27.4%, 0%, 11.4%)
CIE-LABlab(72.81, 25.87, -25.73)
CIE-LCHlch(72.81, 36.48, 315.16°)
OKLaboklab(77.58% 0.0662 -0.0701)
OKLCHoklch(77.58% 0.096 313.3)
XYZxyz(51.9025, 44.8800, 77.8652)
Luminance0.4488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA4E2 #BAE2A4
analogous
#ADA4E2 #CCA4E2 #E2A4D9
triadic
#CCA4E2 #E2CCA4 #A4E2CC
tetradic
#CCA4E2 #E2ADA4 #BAE2A4 #A4D9E2
square
#CCA4E2 #E2ADA4 #BAE2A4 #A4D9E2
split-complementary
#CCA4E2 #D9E2A4 #A4E2AD
monochromatic
#9847C4 #B276D3 #CCA4E2 #E6D2F1 #F2E8F8

Accessibility & contrast

On white

2.11
#CCA4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CCA4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA4E2
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA4E2#FFFFFF#000000##000000
##CCA4E21.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB0E5
Deuteranopia (green-blind)
#A3B4E0
Tritanopia (blue-blind)
#CAACBA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cca4e2;
/* rgb */ color: rgb(204, 164, 226);
/* oklch */ color: oklch(77.6% 0.096 313.3);
Tailwind
colors: {
  custom: {
    50: '#dcbfeb',
    500: '#cca4e2',
    950: '#000000',
  },
}
SCSS
$custom: #cca4e2;
$custom-light: #dcbfeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cca4e2",
  "rgb": {
    "r": 204,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 278.71,
    "s": 51.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77575,
    "c": 0.09643,
    "h": 313.3
  },
  "luminance": 0.44879
}

Semantic roles & 50–950 ramp

primary
#CCA4E2
secondary
#E3EFDC
accent
#BF265D
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCA4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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