#CCAFF7

Closest named color: Pale Violet (#CEAEFA). oklch(80.4% 0.104 302.6), rgb(204, 175, 247).

Aa

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

About this color

#CCAFF7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.104 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.006 away. Black text reads best on it, at 11.04:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.04:1
White text1.90:1

Values

HEX#CCAFF7
RGBrgb(204, 175, 247)
HSLhsl(264, 82%, 83%)
OKLCHoklch(80.4% 0.104 302.6)

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 #CCAFF7 1.90:1 Fails Lc -40.4 Non-text elements, placeholder text
Black text on #CCAFF7 11.04:1 AAA Lc 67.7 Content text, not long reading
#CCAFF7 text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#CCAFF7 text on black 11.04:1 AAA Lc -66.3 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE5FB

    oklch(93.5% 0.031 302.3)

  3. Step 200

    200

    #E0D1FA

    oklch(88.6% 0.058 301.9)

  4. Step 300

    300 (this color)

    #CCAFF7

    oklch(80.4% 0.104 302.6)

  5. Step 400

    400

    #B584F5

    oklch(70.7% 0.166 302.4)

  6. Step 500

    500

    #A45FF1

    oklch(63.1% 0.212 302.5)

  7. Step 600

    600

    #903EE0

    oklch(55.7% 0.231 302.4)

  8. Step 700

    700

    #7B2DC2

    oklch(49.1% 0.215 302.7)

  9. Step 800

    800

    #64289D

    oklch(42.7% 0.178 302.8)

  10. Step 900

    900

    #51277D

    oklch(37.7% 0.14 302.6)

  11. Step 950

    950

    #2F1849

    oklch(26.9% 0.088 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCAFF7 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)#A0BBFA0.063
Deuteranopia (no green cones)#A5BCF50.060
Tritanopia (no blue cones)#C5BAC90.081
Achromatopsia (no color)#BCBCBC0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAFF7

    #CCAFF7

    oklch(80.4% 0.104 302.6)

  • #B3CA7E

    #B3CA7E

    oklch(80.4% 0.103 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAFF7

    #CCAFF7

    oklch(80.4% 0.104 302.6)

  • #A9BBFF

    #A9BBFF

    oklch(80.3% 0.099 272.6)

  • #E8A6DC

    #E8A6DC

    oklch(80.4% 0.104 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCAFF7

    #CCAFF7

    oklch(80.4% 0.104 302.6)

  • #D6BE6D

    #D6BE6D

    oklch(80.5% 0.105 93.4)

  • #8AD39F

    #8AD39F

    oklch(80.5% 0.104 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAFF7

    #CCAFF7

    oklch(80.4% 0.104 302.6)

  • #EFB077

    #EFB077

    oklch(80.4% 0.104 62.6)

  • #67D5C5

    #67D5C5

    oklch(80.4% 0.104 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAFF7

    #CCAFF7

    oklch(80.4% 0.104 302.6)

  • #FBA694

    #FBA694

    oklch(80.4% 0.105 32.5)

  • #B3CA7E

    #B3CA7E

    oklch(80.4% 0.103 122.4)

  • #64D1E7

    #64D1E7

    oklch(80.5% 0.104 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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