#CCAAEE#CCAAEE

#CCAAEE is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.1% C 0.101 H 307.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CCAAEE
RGBrgb(204, 170, 238)
HSLhsl(270, 67%, 80%)
HSVhsv(270, 29%, 93%)
CMYKcmyk(14.3%, 28.6%, 0%, 6.7%)
CIE-LABlab(74.67, 25.08, -29.40)
CIE-LCHlch(74.67, 38.65, 310.46°)
OKLaboklab(79.15% 0.0608 -0.0806)
OKLCHoklch(79.15% 0.101 307)
XYZxyz(54.7063, 47.7602, 87.2090)
Luminance0.4776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAAEE #CCEEAA
analogous
#AAAAEE #CCAAEE #EEAAEE
triadic
#CCAAEE #EECCAA #AAEECC
tetradic
#CCAAEE #EEAAAA #CCEEAA #AAEEEE
square
#CCAAEE #EEAAAA #CCEEAA #AAEEEE
split-complementary
#CCAAEE #EEEEAA #AAEEAA
monochromatic
#8F44DA #AD77E4 #CCAAEE #EBDDF8 #F0E5FA

Accessibility & contrast

On white

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

On black

10.55
#CCAAEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAAEE
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAAEE#FFFFFF#000000##000000
##CCAAEE1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6F1
Deuteranopia (green-blind)
#A4B8EC
Tritanopia (blue-blind)
#C8B3C2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccaaee;
/* rgb */ color: rgb(204, 170, 238);
/* oklch */ color: oklch(79.1% 0.101 307.0);
Tailwind
colors: {
  custom: {
    50: '#dcc3f3',
    500: '#ccaaee',
    950: '#000000',
  },
}
SCSS
$custom: #ccaaee;
$custom-light: #dcc3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaaee",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 80
  },
  "oklch": {
    "l": 0.79147,
    "c": 0.10094,
    "h": 307
  },
  "luminance": 0.4776
}

Semantic roles & 50–950 ramp

primary
#CCAAEE
secondary
#E6F1DA
accent
#CF1773
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CCAAEE

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

Preview Lab → · Contrast checker → · Palette generator →

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