#CCB1EA#CCB1EA

#CCB1EA is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.3% C 0.084 H 306.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CCB1EA
RGBrgb(204, 177, 234)
HSLhsl(268, 58%, 81%)
HSVhsv(268, 24%, 92%)
CMYKcmyk(12.8%, 24.4%, 0%, 8.2%)
CIE-LABlab(76.21, 20.41, -24.89)
CIE-LCHlch(76.21, 32.19, 309.35°)
OKLaboklab(80.28% 0.0496 -0.0679)
OKLCHoklch(80.28% 0.084 306.1)
XYZxyz(55.4725, 50.2224, 84.5975)
Luminance0.5022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB1EA #CFEAB1
analogous
#B1B2EA #CCB1EA #E8B1EA
triadic
#CCB1EA #EACCB1 #B1EACC
tetradic
#CCB1EA #EAB1B2 #CFEAB1 #B1EAE8
square
#CCB1EA #EAB1B2 #CFEAB1 #B1EAE8
split-complementary
#CCB1EA #EAE8B1 #B2EAB1
monochromatic
#8D51D0 #AC81DD #CCB1EA #ECE1F7 #EFE7F9

Accessibility & contrast

On white

1.90
#CCB1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CCB1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB1EA
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB1EA#FFFFFF#000000##000000
##CCB1EA1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BBEC
Deuteranopia (green-blind)
#ACBCE8
Tritanopia (blue-blind)
#C8B9C5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccb1ea;
/* rgb */ color: rgb(204, 177, 234);
/* oklch */ color: oklch(80.3% 0.084 306.1);
Tailwind
colors: {
  custom: {
    50: '#dcc8f0',
    500: '#ccb1ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb1ea;
$custom-light: #dcc8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb1ea",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 234
  },
  "hsl": {
    "h": 268.421,
    "s": 57.576,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80276,
    "c": 0.08406,
    "h": 306.1
  },
  "luminance": 0.50222
}

Semantic roles & 50–950 ramp

primary
#CCB1EA
secondary
#A2C679
accent
#C52077
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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