#CCB2EC#CCB2EC

#CCB2EC is a light, moderate violet. Relative luminance 0.507; OKLCH L 80.5% C 0.085 H 305.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CCB2EC
RGBrgb(204, 178, 236)
HSLhsl(267, 60%, 81%)
HSVhsv(267, 25%, 93%)
CMYKcmyk(13.6%, 24.6%, 0%, 7.5%)
CIE-LABlab(76.52, 20.28, -25.49)
CIE-LCHlch(76.52, 32.58, 308.50°)
OKLaboklab(80.54% 0.0487 -0.0696)
OKLCHoklch(80.54% 0.085 305)
XYZxyz(55.9597, 50.7345, 86.1853)
Luminance0.5073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB2EC #D2ECB2
analogous
#B2B5EC #CCB2EC #E9B2EC
triadic
#CCB2EC #ECCCB2 #B2ECCC
tetradic
#CCB2EC #ECB2B5 #D2ECB2 #B2ECE9
square
#CCB2EC #ECB2B5 #D2ECB2 #B2ECE9
split-complementary
#CCB2EC #ECE9B2 #B5ECB2
monochromatic
#8B50D4 #AB81E0 #CCB2EC #EDE3F8 #EFE6F9

Accessibility & contrast

On white

1.88
#CCB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CCB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB2EC
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB2EC#FFFFFF#000000##000000
##CCB2EC1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BCEE
Deuteranopia (green-blind)
#ACBDEA
Tritanopia (blue-blind)
#C7BAC6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccb2ec;
/* rgb */ color: rgb(204, 178, 236);
/* oklch */ color: oklch(80.5% 0.085 305.0);
Tailwind
colors: {
  custom: {
    50: '#dcc9f2',
    500: '#ccb2ec',
    950: '#000000',
  },
}
SCSS
$custom: #ccb2ec;
$custom-light: #dcc9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb2ec",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 266.897,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.8054,
    "c": 0.08495,
    "h": 305
  },
  "luminance": 0.50734
}

Semantic roles & 50–950 ramp

primary
#CCB2EC
secondary
#A5C979
accent
#C81D7C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CCB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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