#CCBAF2

Closest named color: Light Violet (#D6B4FC). oklch(82.3% 0.08 299.4), rgb(204, 186, 242).

Aa

Black text reads best on this color (11.87:1).

About this color

#CCBAF2 is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.080 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.027 away. Black text reads best on it, at 11.87:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.87:1
White text1.76:1

Values

HEX#CCBAF2
RGBrgb(204, 186, 242)
HSLhsl(259, 68%, 84%)
OKLCHoklch(82.3% 0.08 299.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CCBAF2 1.76:1 Fails Lc -36.4 Non-text elements, placeholder text
Black text on #CCBAF2 11.87:1 AAA Lc 71.4 Content text, not long reading
#CCBAF2 text on white 1.76:1 Fails Lc 32.5 Non-text elements, placeholder text
#CCBAF2 text on black 11.87:1 AAA Lc -70.2 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DDD3F3

    oklch(88.5% 0.045 299.7)

  4. Step 300

    300 (this color)

    #CCBAF2

    oklch(82.3% 0.08 299.4)

  5. Step 400

    400

    #AC8EE4

    oklch(70.7% 0.126 299.2)

  6. Step 500

    500

    #996FDD

    oklch(63.2% 0.163 299.3)

  7. Step 600

    600

    #8454CA

    oklch(55.6% 0.177 299.4)

  8. Step 700

    700

    #7043AF

    oklch(49.1% 0.166 299.4)

  9. Step 800

    800

    #5B388E

    oklch(42.7% 0.137 299.3)

  10. Step 900

    900

    #4A3271

    oklch(37.7% 0.105 298.8)

  11. Step 950

    950

    #2B1E42

    oklch(27% 0.066 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCBAF2 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#AFC3F40.043
Deuteranopia (no green cones)#B1C2F00.041
Tritanopia (no blue cones)#C6C2CD0.064
Achromatopsia (no color)#C3C3C30.080

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CCBAF2

    #CCBAF2

    oklch(82.3% 0.08 299.4)

  • #BFCD92

    #BFCD92

    oklch(82.3% 0.08 119)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCBAF2

    #CCBAF2

    oklch(82.3% 0.08 299.4)

  • #B0C3FA

    #B0C3FA

    oklch(82.2% 0.081 269.8)

  • #E3B3DE

    #E3B3DE

    oklch(82.3% 0.079 329.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CCBAF2

    #CCBAF2

    oklch(82.3% 0.08 299.4)

  • #D9C389

    #D9C389

    oklch(82.2% 0.079 89.6)

  • #A1D4A9

    #A1D4A9

    oklch(82.3% 0.08 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCBAF2

    #CCBAF2

    oklch(82.3% 0.08 299.4)

  • #ECB991

    #ECB991

    oklch(82.2% 0.08 59.5)

  • #8AD6C6

    #8AD6C6

    oklch(82.2% 0.079 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCBAF2

    #CCBAF2

    oklch(82.3% 0.08 299.4)

  • #F4B2A7

    #F4B2A7

    oklch(82.2% 0.079 29.5)

  • #BFCD92

    #BFCD92

    oklch(82.3% 0.08 119)

  • #85D4E1

    #85D4E1

    oklch(82.4% 0.08 209)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CCBAF2, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CCBAF2 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.