#CCB9EE#CCB9EE

#CCB9EE is a light, moderate violet. Relative luminance 0.537; OKLCH L 81.9% C 0.076 H 301.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CCB9EE
RGBrgb(204, 185, 238)
HSLhsl(262, 61%, 83%)
HSVhsv(262, 22%, 93%)
CMYKcmyk(14.3%, 22.3%, 0%, 6.7%)
CIE-LABlab(78.29, 16.89, -23.87)
CIE-LCHlch(78.29, 29.24, 305.29°)
OKLaboklab(81.93% 0.0393 -0.0651)
OKLCHoklch(81.93% 0.076 301.1)
XYZxyz(57.6803, 53.7083, 88.2003)
Luminance0.5371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB9EE #DBEEB9
analogous
#B9C0EE #CCB9EE #E6B9EE
triadic
#CCB9EE #EECCB9 #B9EECC
tetradic
#CCB9EE #EEB9C0 #DBEEB9 #B9EEE6
square
#CCB9EE #EEB9C0 #DBEEB9 #B9EEE6
split-complementary
#CCB9EE #EEE6B9 #C0EEB9
monochromatic
#8457D6 #A888E2 #CCB9EE #EDE6F9 #EDE6F9

Accessibility & contrast

On white

1.79
#CCB9EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CCB9EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB9EE
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB9EE#FFFFFF#000000##000000
##CCB9EE1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC1F0
Deuteranopia (green-blind)
#B2C1EC
Tritanopia (blue-blind)
#C7C1CB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccb9ee;
/* rgb */ color: rgb(204, 185, 238);
/* oklch */ color: oklch(81.9% 0.076 301.1);
Tailwind
colors: {
  custom: {
    50: '#dccef3',
    500: '#ccb9ee',
    950: '#000000',
  },
}
SCSS
$custom: #ccb9ee;
$custom-light: #dccef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb9ee",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 238
  },
  "hsl": {
    "h": 261.509,
    "s": 60.92,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81932,
    "c": 0.07602,
    "h": 301.1
  },
  "luminance": 0.53708
}

Semantic roles & 50–950 ramp

primary
#CCB9EE
secondary
#B0CC7F
accent
#C91D8B
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CCB9EE

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

Preview Lab → · Contrast checker → · Palette generator →

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