#CCB3EB#CCB3EB

#CCB3EB is a light, moderate violet. Relative luminance 0.511; OKLCH L 80.7% C 0.082 H 305.0°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CCB3EB
RGBrgb(204, 179, 235)
HSLhsl(267, 58%, 81%)
HSVhsv(267, 24%, 92%)
CMYKcmyk(13.2%, 23.8%, 0%, 7.8%)
CIE-LABlab(76.72, 19.53, -24.64)
CIE-LCHlch(76.72, 31.44, 308.40°)
OKLaboklab(80.69% 0.047 -0.0672)
OKLCHoklch(80.69% 0.082 305)
XYZxyz(56.0145, 51.0759, 85.4888)
Luminance0.5108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB3EB #D2EBB3
analogous
#B3B6EB #CCB3EB #E8B3EB
triadic
#CCB3EB #EBCCB3 #B3EBCC
tetradic
#CCB3EB #EBB3B6 #D2EBB3 #B3EBE8
square
#CCB3EB #EBB3B6 #D2EBB3 #B3EBE8
split-complementary
#CCB3EB #EBE8B3 #B6EBB3
monochromatic
#8B52D1 #AB83DE #CCB3EB #EDE3F8 #EFE7F9

Accessibility & contrast

On white

1.87
#CCB3EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CCB3EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB3EB
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB3EB#FFFFFF#000000##000000
##CCB3EB1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BDED
Deuteranopia (green-blind)
#ADBDE9
Tritanopia (blue-blind)
#C8BBC6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccb3eb;
/* rgb */ color: rgb(204, 179, 235);
/* oklch */ color: oklch(80.7% 0.082 305.0);
Tailwind
colors: {
  custom: {
    50: '#dcc9f1',
    500: '#ccb3eb',
    950: '#000000',
  },
}
SCSS
$custom: #ccb3eb;
$custom-light: #dcc9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb3eb",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 235
  },
  "hsl": {
    "h": 266.786,
    "s": 58.333,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.08199,
    "h": 305
  },
  "luminance": 0.51076
}

Semantic roles & 50–950 ramp

primary
#CCB3EB
secondary
#A5C77B
accent
#C6207C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CCB3EB

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

Preview Lab → · Contrast checker → · Palette generator →

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