#CCB4EA#CCB4EA

#CCB4EA is a light, moderate violet. Relative luminance 0.514; OKLCH L 80.8% C 0.079 H 304.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CCB4EA
RGBrgb(204, 180, 234)
HSLhsl(267, 56%, 81%)
HSVhsv(267, 23%, 92%)
CMYKcmyk(12.8%, 23.1%, 0%, 8.2%)
CIE-LABlab(76.93, 18.77, -23.78)
CIE-LCHlch(76.93, 30.30, 308.29°)
OKLaboklab(80.84% 0.0452 -0.0648)
OKLCHoklch(80.84% 0.079 304.9)
XYZxyz(56.0716, 51.4206, 84.7972)
Luminance0.5142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB4EA #D2EAB4
analogous
#B4B7EA #CCB4EA #E7B4EA
triadic
#CCB4EA #EACCB4 #B4EACC
tetradic
#CCB4EA #EAB4B7 #D2EAB4 #B4EAE7
square
#CCB4EA #EAB4B7 #D2EAB4 #B4EAE7
split-complementary
#CCB4EA #EAE7B4 #B7EAB4
monochromatic
#8B54CF #AB84DD #CCB4EA #EDE4F7 #EFE7F8

Accessibility & contrast

On white

1.86
#CCB4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CCB4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB4EA
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB4EA#FFFFFF#000000##000000
##CCB4EA1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABDEC
Deuteranopia (green-blind)
#AFBEE8
Tritanopia (blue-blind)
#C8BBC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccb4ea;
/* rgb */ color: rgb(204, 180, 234);
/* oklch */ color: oklch(80.8% 0.079 304.9);
Tailwind
colors: {
  custom: {
    50: '#dccaf0',
    500: '#ccb4ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb4ea;
$custom-light: #dccaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb4ea",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 234
  },
  "hsl": {
    "h": 266.667,
    "s": 56.25,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80837,
    "c": 0.07902,
    "h": 304.9
  },
  "luminance": 0.5142
}

Semantic roles & 50–950 ramp

primary
#CCB4EA
secondary
#A5C67C
accent
#C4227C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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