#CCBAF2#CCBAF2

#CCBAF2 is a very light, moderate violet. Relative luminance 0.544; OKLCH L 82.3% C 0.080 H 299.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CCBAF2
RGBrgb(204, 186, 242)
HSLhsl(259, 68%, 84%)
HSVhsv(259, 23%, 95%)
CMYKcmyk(15.7%, 23.1%, 0%, 5.1%)
CIE-LABlab(78.67, 17.20, -25.43)
CIE-LCHlch(78.67, 30.70, 304.06°)
OKLaboklab(82.27% 0.0391 -0.0695)
OKLCHoklch(82.27% 0.08 299.4)
XYZxyz(58.4844, 54.3658, 91.3997)
Luminance0.5437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBAF2 #E0F2BA
analogous
#BAC4F2 #CCBAF2 #E8BAF2
triadic
#CCBAF2 #F2CCBA #BAF2CC
tetradic
#CCBAF2 #F2BAC4 #E0F2BA #BAF2E8
square
#CCBAF2 #F2BAC4 #E0F2BA #BAF2E8
split-complementary
#CCBAF2 #F2E8BA #C4F2BA
monochromatic
#8053DF #A687E8 #CCBAF2 #ECE5FA #ECE5FA

Accessibility & contrast

On white

1.77
#CCBAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CCBAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBAF2
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBAF2#FFFFFF#000000##000000
##CCBAF21.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC3F4
Deuteranopia (green-blind)
#B1C2F0
Tritanopia (blue-blind)
#C6C2CD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccbaf2;
/* rgb */ color: rgb(204, 186, 242);
/* oklch */ color: oklch(82.3% 0.080 299.4);
Tailwind
colors: {
  custom: {
    50: '#dccef6',
    500: '#ccbaf2',
    950: '#000000',
  },
}
SCSS
$custom: #ccbaf2;
$custom-light: #dccef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbaf2",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 242
  },
  "hsl": {
    "h": 259.286,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.82274,
    "c": 0.07972,
    "h": 299.4
  },
  "luminance": 0.54366
}

Semantic roles & 50–950 ramp

primary
#CCBAF2
secondary
#B7D27F
accent
#D01594
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151317
muted
#848385

Preview Lab

Preview with #CCBAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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