#CCAAEC#CCAAEC

#CCAAEC is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.1% C 0.098 H 307.7°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CCAAEC
RGBrgb(204, 170, 236)
HSLhsl(271, 63%, 80%)
HSVhsv(271, 28%, 93%)
CMYKcmyk(13.6%, 28%, 0%, 7.5%)
CIE-LABlab(74.60, 24.66, -28.43)
CIE-LCHlch(74.60, 37.63, 310.93°)
OKLaboklab(79.07% 0.0602 -0.0778)
OKLCHoklch(79.07% 0.098 307.7)
XYZxyz(54.4141, 47.6433, 85.6701)
Luminance0.4764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAAEC #CAECAA
analogous
#ABAAEC #CCAAEC #ECAAEB
triadic
#CCAAEC #ECCCAA #AAECCC
tetradic
#CCAAEC #ECABAA #CAECAA #AAEBEC
square
#CCAAEC #ECABAA #CAECAA #AAEBEC
split-complementary
#CCAAEC #EBECAA #AAECAB
monochromatic
#9046D6 #AE78E1 #CCAAEC #EADCF7 #F0E6F9

Accessibility & contrast

On white

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

On black

10.53
#CCAAEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAAEC
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAAEC#FFFFFF#000000##000000
##CCAAEC1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6EF
Deuteranopia (green-blind)
#A5B8EA
Tritanopia (blue-blind)
#C8B3C1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccaaec;
/* rgb */ color: rgb(204, 170, 236);
/* oklch */ color: oklch(79.1% 0.098 307.7);
Tailwind
colors: {
  custom: {
    50: '#dcc3f2',
    500: '#ccaaec',
    950: '#000000',
  },
}
SCSS
$custom: #ccaaec;
$custom-light: #dcc3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaaec",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 236
  },
  "hsl": {
    "h": 270.909,
    "s": 63.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79065,
    "c": 0.09842,
    "h": 307.7
  },
  "luminance": 0.47643
}

Semantic roles & 50–950 ramp

primary
#CCAAEC
secondary
#E5F1DA
accent
#CB1A70
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CCAAEC

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

Preview Lab → · Contrast checker → · Palette generator →

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