#CCB2FE#CCB2FE

#CCB2FE is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.3% C 0.108 H 299.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CCB2FE
RGBrgb(204, 178, 254)
HSLhsl(261, 97%, 85%)
HSVhsv(261, 30%, 100%)
CMYKcmyk(19.7%, 29.9%, 0%, 0.4%)
CIE-LABlab(77.18, 24.17, -34.17)
CIE-LCHlch(77.18, 41.86, 305.27°)
OKLaboklab(81.27% 0.0537 -0.0942)
OKLCHoklch(81.27% 0.108 299.7)
XYZxyz(58.7078, 51.8337, 100.6587)
Luminance0.5183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB2FE #E4FEB2
analogous
#B2BEFE #CCB2FE #F2B2FE
triadic
#CCB2FE #FECCB2 #B2FECC
tetradic
#CCB2FE #FEB2BE #E4FEB2 #B2FEF2
square
#CCB2FE #FEB2BE #E4FEB2 #B2FEF2
split-complementary
#CCB2FE #FEF2B2 #BEFEB2
monochromatic
#7C39FC #A476FD #CCB2FE #EBE1FF #EBE1FF

Accessibility & contrast

On white

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

On black

11.37
#CCB2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB2FE
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB2FE#FFFFFF#000000##000000
##CCB2FE1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BEFF
Deuteranopia (green-blind)
#A6BEFC
Tritanopia (blue-blind)
#C3BECD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccb2fe;
/* rgb */ color: rgb(204, 178, 254);
/* oklch */ color: oklch(81.3% 0.108 299.7);
Tailwind
colors: {
  custom: {
    50: '#dcc9ff',
    500: '#ccb2fe',
    950: '#000000',
  },
}
SCSS
$custom: #ccb2fe;
$custom-light: #dcc9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb2fe",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 254
  },
  "hsl": {
    "h": 260.526,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81269,
    "c": 0.10842,
    "h": 299.7
  },
  "luminance": 0.51834
}

Semantic roles & 50–950 ramp

primary
#CCB2FE
secondary
#BCE470
accent
#E60097
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CCB2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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