#CCAAEF#CCAAEF

#CCAAEF is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.2% C 0.102 H 306.7°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CCAAEF
RGBrgb(204, 170, 239)
HSLhsl(270, 68%, 80%)
HSVhsv(270, 29%, 94%)
CMYKcmyk(14.6%, 28.9%, 0%, 6.3%)
CIE-LABlab(74.71, 25.29, -29.89)
CIE-LCHlch(74.71, 39.15, 310.24°)
OKLaboklab(79.19% 0.0611 -0.0819)
OKLCHoklch(79.19% 0.102 306.7)
XYZxyz(54.8536, 47.8191, 87.9849)
Luminance0.4782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAAEF #CDEFAA
analogous
#AAAAEF #CCAAEF #EEAAEF
triadic
#CCAAEF #EFCCAA #AAEFCC
tetradic
#CCAAEF #EFAAAA #CDEFAA #AAEFEE
square
#CCAAEF #EFAAAA #CDEFAA #AAEFEE
split-complementary
#CCAAEF #EFEEAA #AAEFAA
monochromatic
#8E43DC #AD76E5 #CCAAEF #EBDEF9 #F0E5FA

Accessibility & contrast

On white

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

On black

10.56
#CCAAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAAEF
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAAEF#FFFFFF#000000##000000
##CCAAEF1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB7F2
Deuteranopia (green-blind)
#A4B8ED
Tritanopia (blue-blind)
#C7B4C3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccaaef;
/* rgb */ color: rgb(204, 170, 239);
/* oklch */ color: oklch(79.2% 0.102 306.7);
Tailwind
colors: {
  custom: {
    50: '#dcc3f4',
    500: '#ccaaef',
    950: '#000000',
  },
}
SCSS
$custom: #ccaaef;
$custom-light: #dcc3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaaef",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 269.565,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79187,
    "c": 0.1022,
    "h": 306.7
  },
  "luminance": 0.47819
}

Semantic roles & 50–950 ramp

primary
#CCAAEF
secondary
#E6F2D9
accent
#D01574
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CCAAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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