#CCB2FB#CCB2FB

#CCB2FB is a light, moderate violet. Relative luminance 0.516; OKLCH L 81.1% C 0.104 H 300.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CCB2FB
RGBrgb(204, 178, 251)
HSLhsl(261, 90%, 84%)
HSVhsv(261, 29%, 98%)
CMYKcmyk(18.7%, 29.1%, 0%, 1.6%)
CIE-LABlab(77.07, 23.51, -32.74)
CIE-LCHlch(77.07, 40.31, 305.68°)
OKLaboklab(81.14% 0.0529 -0.0901)
OKLCHoklch(81.14% 0.104 300.4)
XYZxyz(58.2311, 51.6431, 98.1484)
Luminance0.5164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB2FB #E1FBB2
analogous
#B2BDFB #CCB2FB #F1B2FB
triadic
#CCB2FB #FBCCB2 #B2FBCC
tetradic
#CCB2FB #FBB2BD #E1FBB2 #B2FBF1
square
#CCB2FB #FBB2BD #E1FBB2 #B2FBF1
split-complementary
#CCB2FB #FBF1B2 #BDFBB2
monochromatic
#7F3EF5 #A578F8 #CCB2FB #ECE2FD #ECE2FD

Accessibility & contrast

On white

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

On black

11.33
#CCB2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB2FB
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB2FB#FFFFFF#000000##000000
##CCB2FB1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFE
Deuteranopia (green-blind)
#A7BEF9
Tritanopia (blue-blind)
#C4BDCC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccb2fb;
/* rgb */ color: rgb(204, 178, 251);
/* oklch */ color: oklch(81.1% 0.104 300.4);
Tailwind
colors: {
  custom: {
    50: '#dcc9fd',
    500: '#ccb2fb',
    950: '#000000',
  },
}
SCSS
$custom: #ccb2fb;
$custom-light: #dcc9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb2fb",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 251
  },
  "hsl": {
    "h": 261.37,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81144,
    "c": 0.10449,
    "h": 300.4
  },
  "luminance": 0.51643
}

Semantic roles & 50–950 ramp

primary
#CCB2FB
secondary
#B8DF72
accent
#E60094
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCB2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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