#CCB3EE#CCB3EE

#CCB3EE is a light, moderate violet. Relative luminance 0.513; OKLCH L 80.8% C 0.086 H 303.9°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CCB3EE
RGBrgb(204, 179, 238)
HSLhsl(265, 63%, 82%)
HSVhsv(265, 25%, 93%)
CMYKcmyk(14.3%, 24.8%, 0%, 6.7%)
CIE-LABlab(76.83, 20.16, -26.10)
CIE-LCHlch(76.83, 32.97, 307.68°)
OKLaboklab(80.81% 0.0479 -0.0713)
OKLCHoklch(80.81% 0.086 303.9)
XYZxyz(56.4515, 51.2507, 87.7907)
Luminance0.5125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB3EE #D5EEB3
analogous
#B3B8EE #CCB3EE #EAB3EE
triadic
#CCB3EE #EECCB3 #B3EECC
tetradic
#CCB3EE #EEB3B8 #D5EEB3 #B3EEEA
square
#CCB3EE #EEB3B8 #D5EEB3 #B3EEEA
split-complementary
#CCB3EE #EEEAB3 #B8EEB3
monochromatic
#894FD8 #AA81E3 #CCB3EE #EEE5F9 #EEE6F9

Accessibility & contrast

On white

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

On black

11.25
#CCB3EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB3EE
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB3EE#FFFFFF#000000##000000
##CCB3EE1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BDF0
Deuteranopia (green-blind)
#ACBEEC
Tritanopia (blue-blind)
#C7BBC8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccb3ee;
/* rgb */ color: rgb(204, 179, 238);
/* oklch */ color: oklch(80.8% 0.086 303.9);
Tailwind
colors: {
  custom: {
    50: '#dcc9f3',
    500: '#ccb3ee',
    950: '#000000',
  },
}
SCSS
$custom: #ccb3ee;
$custom-light: #dcc9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb3ee",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 238
  },
  "hsl": {
    "h": 265.424,
    "s": 63.441,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80805,
    "c": 0.08588,
    "h": 303.9
  },
  "luminance": 0.51251
}

Semantic roles & 50–950 ramp

primary
#CCB3EE
secondary
#A9CC7A
accent
#CB1A80
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CCB3EE

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

Preview Lab → · Contrast checker → · Palette generator →

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