#CCAAEB#CCAAEB

#CCAAEB is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.0% C 0.097 H 308.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CCAAEB
RGBrgb(204, 170, 235)
HSLhsl(271, 62%, 79%)
HSVhsv(271, 28%, 92%)
CMYKcmyk(13.2%, 27.7%, 0%, 7.8%)
CIE-LABlab(74.56, 24.45, -27.95)
CIE-LCHlch(74.56, 37.13, 311.18°)
OKLaboklab(79.03% 0.06 -0.0765)
OKLCHoklch(79.03% 0.097 308.1)
XYZxyz(54.2692, 47.5854, 84.9071)
Luminance0.4758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAAEB #C9EBAA
analogous
#ACAAEB #CCAAEB #EBAAE9
triadic
#CCAAEB #EBCCAA #AAEBCC
tetradic
#CCAAEB #EBACAA #C9EBAA #AAE9EB
square
#CCAAEB #EBACAA #C9EBAA #AAE9EB
split-complementary
#CCAAEB #E9EBAA #AAEBAC
monochromatic
#9147D4 #AE78DF #CCAAEB #EADCF7 #F0E6F9

Accessibility & contrast

On white

2.00
#CCAAEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CCAAEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAAEB
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAAEB#FFFFFF#000000##000000
##CCAAEB1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB6EE
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#C8B3C1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccaaeb;
/* rgb */ color: rgb(204, 170, 235);
/* oklch */ color: oklch(79.0% 0.097 308.1);
Tailwind
colors: {
  custom: {
    50: '#dcc3f1',
    500: '#ccaaeb',
    950: '#000000',
  },
}
SCSS
$custom: #ccaaeb;
$custom-light: #dcc3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaaeb",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 235
  },
  "hsl": {
    "h": 271.385,
    "s": 61.905,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79025,
    "c": 0.09717,
    "h": 308.1
  },
  "luminance": 0.47585
}

Semantic roles & 50–950 ramp

primary
#CCAAEB
secondary
#E5F1DA
accent
#CA1C6F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCAAEB

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

Preview Lab → · Contrast checker → · Palette generator →

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