#CCB4E7#CCB4E7

#CCB4E7 is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.7% C 0.075 H 306.1°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CCB4E7
RGBrgb(204, 180, 231)
HSLhsl(268, 52%, 81%)
HSVhsv(268, 22%, 91%)
CMYKcmyk(11.7%, 22.1%, 0%, 9.4%)
CIE-LABlab(76.83, 18.15, -22.31)
CIE-LCHlch(76.83, 28.76, 309.12°)
OKLaboklab(80.72% 0.0443 -0.0607)
OKLCHoklch(80.72% 0.075 306.1)
XYZxyz(55.6442, 51.2496, 82.5465)
Luminance0.5125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB4E7 #CFE7B4
analogous
#B4B5E7 #CCB4E7 #E5B4E7
triadic
#CCB4E7 #E7CCB4 #B4E7CC
tetradic
#CCB4E7 #E7B4B5 #CFE7B4 #B4E7E5
square
#CCB4E7 #E7B4B5 #CFE7B4 #B4E7E5
split-complementary
#CCB4E7 #E7E5B4 #B5E7B4
monochromatic
#8D57C9 #AC86D8 #CCB4E7 #ECE2F6 #EFE8F8

Accessibility & contrast

On white

1.87
#CCB4E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CCB4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB4E7
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB4E7#FFFFFF#000000##000000
##CCB4E71.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBDE9
Deuteranopia (green-blind)
#B0BEE5
Tritanopia (blue-blind)
#C8BBC5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccb4e7;
/* rgb */ color: rgb(204, 180, 231);
/* oklch */ color: oklch(80.7% 0.075 306.1);
Tailwind
colors: {
  custom: {
    50: '#dccaee',
    500: '#ccb4e7',
    950: '#000000',
  },
}
SCSS
$custom: #ccb4e7;
$custom-light: #dccaee;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb4e7",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 231
  },
  "hsl": {
    "h": 268.235,
    "s": 51.515,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80724,
    "c": 0.07515,
    "h": 306.1
  },
  "luminance": 0.51249
}

Semantic roles & 50–950 ramp

primary
#CCB4E7
secondary
#A2C27D
accent
#BF2777
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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