#CCB8EB#CCB8EB

#CCB8EB is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.6% C 0.074 H 302.7°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CCB8EB
RGBrgb(204, 184, 235)
HSLhsl(264, 56%, 82%)
HSVhsv(264, 22%, 92%)
CMYKcmyk(13.2%, 21.7%, 0%, 7.8%)
CIE-LABlab(77.94, 16.80, -22.78)
CIE-LCHlch(77.94, 28.31, 306.41°)
OKLaboklab(81.63% 0.0398 -0.062)
OKLCHoklch(81.63% 0.074 302.7)
XYZxyz(57.0348, 53.1165, 85.8289)
Luminance0.5312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB8EB #D7EBB8
analogous
#B8BEEB #CCB8EB #E5B8EB
triadic
#CCB8EB #EBCCB8 #B8EBCC
tetradic
#CCB8EB #EBB8BE #D7EBB8 #B8EBE5
square
#CCB8EB #EBB8BE #D7EBB8 #B8EBE5
split-complementary
#CCB8EB #EBE5B8 #BEEBB8
monochromatic
#8759D0 #AA88DE #CCB8EB #EEE7F8 #EEE7F8

Accessibility & contrast

On white

1.81
#CCB8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CCB8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB8EB
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB8EB#FFFFFF#000000##000000
##CCB8EB1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC0ED
Deuteranopia (green-blind)
#B2C1E9
Tritanopia (blue-blind)
#C7BFC9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccb8eb;
/* rgb */ color: rgb(204, 184, 235);
/* oklch */ color: oklch(81.6% 0.074 302.7);
Tailwind
colors: {
  custom: {
    50: '#dccdf1',
    500: '#ccb8eb',
    950: '#000000',
  },
}
SCSS
$custom: #ccb8eb;
$custom-light: #dccdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb8eb",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 235
  },
  "hsl": {
    "h": 263.529,
    "s": 56.044,
    "l": 82.157
  },
  "oklch": {
    "l": 0.8163,
    "c": 0.07369,
    "h": 302.7
  },
  "luminance": 0.53117
}

Semantic roles & 50–950 ramp

primary
#CCB8EB
secondary
#ABC780
accent
#C42284
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CCB8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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