#CCBAFF

Closest named color: Light Violet (#D6B4FC). oklch(82.8% 0.097 296.2), rgb(204, 186, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.03:1
White text1.74:1

Values

HEX#CCBAFF
RGBrgb(204, 186, 255)
HSLhsl(256, 100%, 86%)
OKLCHoklch(82.8% 0.097 296.2)

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 #CCBAFF 1.74:1 Fails Lc -35.7 Non-text elements, placeholder text
Black text on #CCBAFF 12.03:1 AAA Lc 72.1 Content text, not long reading
#CCBAFF text on white 1.74:1 Fails Lc 31.7 Non-text elements, placeholder text
#CCBAFF text on black 12.03:1 AAA Lc -71.0 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2F9

    oklch(88.4% 0.054 297)

  4. Step 300

    300 (this color)

    #CCBAFF

    oklch(82.8% 0.097 296.2)

  5. Step 400

    400

    #AA8AF5

    oklch(70.7% 0.154 296)

  6. Step 500

    500

    #9768F1

    oklch(63.1% 0.198 296.1)

  7. Step 600

    600

    #834AE0

    oklch(55.7% 0.216 296.1)

  8. Step 700

    700

    #6F39C2

    oklch(49% 0.201 296.2)

  9. Step 800

    800

    #5A319D

    oklch(42.7% 0.166 296)

  10. Step 900

    900

    #4A2D7D

    oklch(37.8% 0.13 296.3)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCBAFF 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)#AAC4FF0.049
Deuteranopia (no green cones)#ADC3FD0.046
Tritanopia (no blue cones)#C2C5D20.080
Achromatopsia (no color)#C4C4C40.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCBAFF

    #CCBAFF

    oklch(82.8% 0.097 296.2)

  • #C3CF85

    #C3CF85

    oklch(82.8% 0.097 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCBAFF

    #CCBAFF

    oklch(82.8% 0.097 296.2)

  • #ADC6FF

    #ADC6FF

    oklch(82.8% 0.085 266.2)

  • #E8B1E9

    #E8B1E9

    oklch(82.8% 0.097 325.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCBAFF

    #CCBAFF

    oklch(82.8% 0.097 296.2)

  • #E3C37B

    #E3C37B

    oklch(82.9% 0.098 86.4)

  • #9DD8A1

    #9DD8A1

    oklch(82.7% 0.097 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCBAFF

    #CCBAFF

    oklch(82.8% 0.097 296.2)

  • #F8B788

    #F8B788

    oklch(82.9% 0.098 56.8)

  • #7DDCC4

    #7DDCC4

    oklch(82.9% 0.097 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCBAFF

    #CCBAFF

    oklch(82.8% 0.097 296.2)

  • #FFAFA6

    #FFAFA6

    oklch(82.8% 0.095 26.4)

  • #C3CF85

    #C3CF85

    oklch(82.8% 0.097 116.1)

  • #72D9E6

    #72D9E6

    oklch(82.8% 0.097 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CCBAFF 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.