#CCB8FB

Closest named color: Light Violet (#D6B4FC). oklch(82.3% 0.095 298), rgb(204, 184, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.81:1
White text1.77:1

Values

HEX#CCB8FB
RGBrgb(204, 184, 251)
HSLhsl(258, 89%, 85%)
OKLCHoklch(82.3% 0.095 298)

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 #CCB8FB 1.77:1 Fails Lc -36.7 Non-text elements, placeholder text
Black text on #CCB8FB 11.81:1 AAA Lc 71.1 Content text, not long reading
#CCB8FB text on white 1.77:1 Fails Lc 32.7 Non-text elements, placeholder text
#CCB8FB text on black 11.81:1 AAA Lc -70.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

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F8

    oklch(88.5% 0.053 298.5)

  4. Step 300

    300 (this color)

    #CCB8FB

    oklch(82.3% 0.095 298)

  5. Step 400

    400

    #AD89F2

    oklch(70.7% 0.152 298.2)

  6. Step 500

    500

    #9A68ED

    oklch(63.2% 0.193 298)

  7. Step 600

    600

    #864ADB

    oklch(55.6% 0.21 298.2)

  8. Step 700

    700

    #713ABE

    oklch(49.1% 0.195 297.8)

  9. Step 800

    800

    #5C319A

    oklch(42.7% 0.162 297.9)

  10. Step 900

    900

    #4B2D7B

    oklch(37.7% 0.127 297.7)

  11. Step 950

    950

    #2C1B48

    oklch(27% 0.081 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#CCB8FB 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)#A9C2FE0.050
Deuteranopia (no green cones)#ACC2F90.048
Tritanopia (no blue cones)#C4C2D00.076
Achromatopsia (no color)#C2C2C20.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB8FB

    #CCB8FB

    oklch(82.3% 0.095 298)

  • #BFCE86

    #BFCE86

    oklch(82.3% 0.096 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB8FB

    #CCB8FB

    oklch(82.3% 0.095 298)

  • #ACC3FF

    #ACC3FF

    oklch(82.1% 0.089 268.2)

  • #E7AFE4

    #E7AFE4

    oklch(82.2% 0.095 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCB8FB

    #CCB8FB

    oklch(82.3% 0.095 298)

  • #DFC27C

    #DFC27C

    oklch(82.3% 0.095 87.8)

  • #9BD6A2

    #9BD6A2

    oklch(82.2% 0.094 147.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB8FB

    #CCB8FB

    oklch(82.3% 0.095 298)

  • #F4B687

    #F4B687

    oklch(82.3% 0.095 58.1)

  • #7CD9C5

    #7CD9C5

    oklch(82.2% 0.094 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB8FB

    #CCB8FB

    oklch(82.3% 0.095 298)

  • #FDAEA3

    #FDAEA3

    oklch(82.4% 0.095 28.1)

  • #BFCE86

    #BFCE86

    oklch(82.3% 0.096 118.1)

  • #74D6E5

    #74D6E5

    oklch(82.2% 0.095 208.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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