#CCAEEA#CCAEEA

#CCAEEA is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.7% C 0.089 H 307.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CCAEEA
RGBrgb(204, 174, 234)
HSLhsl(270, 59%, 80%)
HSVhsv(270, 26%, 92%)
CMYKcmyk(12.8%, 25.6%, 0%, 8.2%)
CIE-LABlab(75.48, 22.05, -25.99)
CIE-LCHlch(75.48, 34.08, 310.31°)
OKLaboklab(79.72% 0.0539 -0.071)
OKLCHoklch(79.72% 0.089 307.2)
XYZxyz(54.8864, 49.0503, 84.4021)
Luminance0.4905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAEEA #CCEAAE
analogous
#AEAEEA #CCAEEA #EAAEEA
triadic
#CCAEEA #EACCAE #AEEACC
tetradic
#CCAEEA #EAAEAE #CCEAAE #AEEAEA
square
#CCAEEA #EAAEAE #CCEAAE #AEEAEA
split-complementary
#CCAEEA #EAEAAE #AEEAAE
monochromatic
#8F4DD1 #AD7DDD #CCAEEA #EBDFF7 #F0E7F9

Accessibility & contrast

On white

1.94
#CCAEEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CCAEEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAEEA
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAEEA#FFFFFF#000000##000000
##CCAEEA1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B9ED
Deuteranopia (green-blind)
#A9BAE8
Tritanopia (blue-blind)
#C8B6C3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccaeea;
/* rgb */ color: rgb(204, 174, 234);
/* oklch */ color: oklch(79.7% 0.089 307.2);
Tailwind
colors: {
  custom: {
    50: '#dcc6f1',
    500: '#ccaeea',
    950: '#000000',
  },
}
SCSS
$custom: #ccaeea;
$custom-light: #dcc6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaeea",
  "rgb": {
    "r": 204,
    "g": 174,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 58.824,
    "l": 80
  },
  "oklch": {
    "l": 0.7972,
    "c": 0.08913,
    "h": 307.2
  },
  "luminance": 0.4905
}

Semantic roles & 50–950 ramp

primary
#CCAEEA
secondary
#E6F0DB
accent
#C61F73
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAEEA

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

Preview Lab → · Contrast checker → · Palette generator →

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