#CCB9EA#CCB9EA

#CCB9EA is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.8% C 0.071 H 302.6°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CCB9EA
RGBrgb(204, 185, 234)
HSLhsl(263, 54%, 82%)
HSVhsv(263, 21%, 92%)
CMYKcmyk(12.8%, 20.9%, 0%, 8.2%)
CIE-LABlab(78.16, 16.05, -21.92)
CIE-LCHlch(78.16, 27.17, 306.21°)
OKLaboklab(81.78% 0.0381 -0.0596)
OKLCHoklch(81.78% 0.071 302.6)
XYZxyz(57.0992, 53.4758, 85.1397)
Luminance0.5348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB9EA #D7EAB9
analogous
#B9BFEA #CCB9EA #E4B9EA
triadic
#CCB9EA #EACCB9 #B9EACC
tetradic
#CCB9EA #EAB9BF #D7EAB9 #B9EAE4
square
#CCB9EA #EAB9BF #D7EAB9 #B9EAE4
split-complementary
#CCB9EA #EAE4B9 #BFEAB9
monochromatic
#875BCE #AA8ADC #CCB9EA #EEE7F8 #EEE7F8

Accessibility & contrast

On white

1.80
#CCB9EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CCB9EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB9EA
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB9EA#FFFFFF#000000##000000
##CCB9EA1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C1EC
Deuteranopia (green-blind)
#B3C1E8
Tritanopia (blue-blind)
#C7C0CA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccb9ea;
/* rgb */ color: rgb(204, 185, 234);
/* oklch */ color: oklch(81.8% 0.071 302.6);
Tailwind
colors: {
  custom: {
    50: '#dccef0',
    500: '#ccb9ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb9ea;
$custom-light: #dccef0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb9ea",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 234
  },
  "hsl": {
    "h": 263.265,
    "s": 53.846,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81782,
    "c": 0.07073,
    "h": 302.6
  },
  "luminance": 0.53476
}

Semantic roles & 50–950 ramp

primary
#CCB9EA
secondary
#ABC681
accent
#C12484
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CCB9EA

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

Preview Lab → · Contrast checker → · Palette generator →

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