#CCB5EB#CCB5EB

#CCB5EB is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.1% C 0.079 H 304.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CCB5EB
RGBrgb(204, 181, 235)
HSLhsl(266, 57%, 82%)
HSVhsv(266, 23%, 92%)
CMYKcmyk(13.2%, 23%, 0%, 7.8%)
CIE-LABlab(77.21, 18.44, -23.90)
CIE-LCHlch(77.21, 30.18, 307.65°)
OKLaboklab(81.06% 0.0441 -0.0651)
OKLCHoklch(81.06% 0.079 304.1)
XYZxyz(56.4182, 51.8834, 85.6234)
Luminance0.5188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB5EB #D4EBB5
analogous
#B5B9EB #CCB5EB #E7B5EB
triadic
#CCB5EB #EBCCB5 #B5EBCC
tetradic
#CCB5EB #EBB5B9 #D4EBB5 #B5EBE7
square
#CCB5EB #EBB5B9 #D4EBB5 #B5EBE7
split-complementary
#CCB5EB #EBE7B5 #B9EBB5
monochromatic
#8A55D1 #AB85DE #CCB5EB #EDE5F8 #EEE7F8

Accessibility & contrast

On white

1.85
#CCB5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CCB5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB5EB
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB5EB#FFFFFF#000000##000000
##CCB5EB1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBEED
Deuteranopia (green-blind)
#AFBFE9
Tritanopia (blue-blind)
#C7BCC8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccb5eb;
/* rgb */ color: rgb(204, 181, 235);
/* oklch */ color: oklch(81.1% 0.079 304.1);
Tailwind
colors: {
  custom: {
    50: '#dccbf1',
    500: '#ccb5eb',
    950: '#000000',
  },
}
SCSS
$custom: #ccb5eb;
$custom-light: #dccbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb5eb",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 235
  },
  "hsl": {
    "h": 265.556,
    "s": 57.447,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81063,
    "c": 0.07866,
    "h": 304.1
  },
  "luminance": 0.51883
}

Semantic roles & 50–950 ramp

primary
#CCB5EB
secondary
#A8C77D
accent
#C5207F
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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