#CCB6EA#CCB6EA

#CCB6EA is a light, moderate violet. Relative luminance 0.522; OKLCH L 81.2% C 0.076 H 304.0°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CCB6EA
RGBrgb(204, 182, 234)
HSLhsl(265, 55%, 82%)
HSVhsv(265, 22%, 92%)
CMYKcmyk(12.8%, 22.2%, 0%, 8.2%)
CIE-LABlab(77.42, 17.68, -23.04)
CIE-LCHlch(77.42, 29.04, 307.51°)
OKLaboklab(81.21% 0.0424 -0.0627)
OKLCHoklch(81.21% 0.076 304)
XYZxyz(56.4782, 52.2339, 84.9327)
Luminance0.5223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB6EA #D4EAB6
analogous
#B6BAEA #CCB6EA #E6B6EA
triadic
#CCB6EA #EACCB6 #B6EACC
tetradic
#CCB6EA #EAB6BA #D4EAB6 #B6EAE6
square
#CCB6EA #EAB6BA #D4EAB6 #B6EAE6
split-complementary
#CCB6EA #EAE6B6 #BAEAB6
monochromatic
#8A57CF #AB86DC #CCB6EA #EDE6F8 #EEE7F8

Accessibility & contrast

On white

1.83
#CCB6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CCB6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB6EA
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB6EA#FFFFFF#000000##000000
##CCB6EA1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFEC
Deuteranopia (green-blind)
#B0BFE8
Tritanopia (blue-blind)
#C8BDC8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccb6ea;
/* rgb */ color: rgb(204, 182, 234);
/* oklch */ color: oklch(81.2% 0.076 304.0);
Tailwind
colors: {
  custom: {
    50: '#dcccf0',
    500: '#ccb6ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb6ea;
$custom-light: #dcccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb6ea",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 234
  },
  "hsl": {
    "h": 265.385,
    "s": 55.319,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81214,
    "c": 0.0757,
    "h": 304
  },
  "luminance": 0.52234
}

Semantic roles & 50–950 ramp

primary
#CCB6EA
secondary
#A8C67E
accent
#C3237F
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CCB6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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