#CCB7EB#CCB7EB

#CCB7EB is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.4% C 0.075 H 303.2°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CCB7EB
RGBrgb(204, 183, 235)
HSLhsl(264, 57%, 82%)
HSVhsv(264, 22%, 92%)
CMYKcmyk(13.2%, 22.1%, 0%, 7.8%)
CIE-LABlab(77.70, 17.35, -23.15)
CIE-LCHlch(77.70, 28.93, 306.84°)
OKLaboklab(81.44% 0.0412 -0.0631)
OKLCHoklch(81.44% 0.075 303.2)
XYZxyz(56.8278, 52.7026, 85.7600)
Luminance0.5270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7EB #D6EBB7
analogous
#B7BCEB #CCB7EB #E6B7EB
triadic
#CCB7EB #EBCCB7 #B7EBCC
tetradic
#CCB7EB #EBB7BC #D6EBB7 #B7EBE6
square
#CCB7EB #EBB7BC #D6EBB7 #B7EBE6
split-complementary
#CCB7EB #EBE6B7 #BCEBB7
monochromatic
#8857D0 #AA87DE #CCB7EB #EEE7F8 #EEE7F8

Accessibility & contrast

On white

1.82
#CCB7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CCB7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7EB
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7EB#FFFFFF#000000##000000
##CCB7EB1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFED
Deuteranopia (green-blind)
#B1C0E9
Tritanopia (blue-blind)
#C7BEC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccb7eb;
/* rgb */ color: rgb(204, 183, 235);
/* oklch */ color: oklch(81.4% 0.075 303.2);
Tailwind
colors: {
  custom: {
    50: '#dcccf1',
    500: '#ccb7eb',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7eb;
$custom-light: #dcccf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7eb",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 235
  },
  "hsl": {
    "h": 264.231,
    "s": 56.522,
    "l": 81.961
  },
  "oklch": {
    "l": 0.8144,
    "c": 0.07535,
    "h": 303.2
  },
  "luminance": 0.52703
}

Semantic roles & 50–950 ramp

primary
#CCB7EB
secondary
#AAC77F
accent
#C42182
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CCB7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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