#CCAFF4

Closest named color: Pale Violet (#CEAEFA). oklch(80.3% 0.1 303.5), rgb(204, 175, 244).

Aa

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

About this color

#CCAFF4 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.100 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.010 away. Black text reads best on it, at 11.00:1.

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

Values

HEX#CCAFF4
RGBrgb(204, 175, 244)
HSLhsl(265, 76%, 82%)
OKLCHoklch(80.3% 0.1 303.5)

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 #CCAFF4 1.90:1 Fails Lc -40.6 Non-text elements, placeholder text
Black text on #CCAFF4 11.00:1 AAA Lc 67.5 Content text, not long reading
#CCAFF4 text on white 1.90:1 Fails Lc 36.4 Non-text elements, placeholder text
#CCAFF4 text on black 11.00:1 AAA Lc -66.1 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

    #EEE6FA

    oklch(93.7% 0.028 303.9)

  3. Step 200

    200

    #E0D1F8

    oklch(88.5% 0.055 302.8)

  4. Step 300

    300 (this color)

    #CCAFF4

    oklch(80.3% 0.1 303.5)

  5. Step 400

    400

    #B685F1

    oklch(70.8% 0.159 303.5)

  6. Step 500

    500

    #A560EC

    oklch(63.1% 0.205 303.8)

  7. Step 600

    600

    #9041DB

    oklch(55.6% 0.223 303.2)

  8. Step 700

    700

    #7B31BE

    oklch(49.2% 0.207 303.3)

  9. Step 800

    800

    #642A99

    oklch(42.6% 0.172 303.7)

  10. Step 900

    900

    #51297A

    oklch(37.7% 0.133 303.3)

  11. Step 950

    950

    #2F1947

    oklch(26.9% 0.084 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCAFF4 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)#A1BBF70.062
Deuteranopia (no green cones)#A7BCF20.058
Tritanopia (no blue cones)#C6B9C70.078
Achromatopsia (no color)#BCBCBC0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAFF4

    #CCAFF4

    oklch(80.3% 0.1 303.5)

  • #B2CA81

    #B2CA81

    oklch(80.4% 0.1 123.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAFF4

    #CCAFF4

    oklch(80.3% 0.1 303.5)

  • #AABBFF

    #AABBFF

    oklch(80.4% 0.098 273.2)

  • #E6A7DA

    #E6A7DA

    oklch(80.3% 0.099 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #CCAFF4

    #CCAFF4

    oklch(80.3% 0.1 303.5)

  • #D4BE71

    #D4BE71

    oklch(80.3% 0.1 93.9)

  • #8BD2A1

    #8BD2A1

    oklch(80.4% 0.1 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAFF4

    #CCAFF4

    oklch(80.3% 0.1 303.5)

  • #EDB179

    #EDB179

    oklch(80.4% 0.101 63.6)

  • #6BD4C5

    #6BD4C5

    oklch(80.3% 0.1 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAFF4

    #CCAFF4

    oklch(80.3% 0.1 303.5)

  • #F8A794

    #F8A794

    oklch(80.3% 0.1 33.8)

  • #B2CA81

    #B2CA81

    oklch(80.4% 0.1 123.4)

  • #69D0E6

    #69D0E6

    oklch(80.4% 0.1 213.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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