#CCA7E2

Closest named color: Plum (#DDA0DD). oklch(78.1% 0.091 312.6), rgb(204, 167, 226).

Aa

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

About this color

#CCA7E2 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.091 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.029 away. Black text reads best on it, at 10.19:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.19:1
White text2.06:1

Values

HEX#CCA7E2
RGBrgb(204, 167, 226)
HSLhsl(278, 50%, 77%)
OKLCHoklch(78.1% 0.091 312.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 #CCA7E2 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CCA7E2 10.19:1 AAA Lc 63.8 Content text, not long reading
#CCA7E2 text on white 2.06:1 Fails Lc 40.1 Non-text elements, placeholder text
#CCA7E2 text on black 10.19:1 AAA Lc -62.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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F2

    oklch(88.5% 0.051 312.6)

  4. Step 300

    300 (this color)

    #CCA7E2

    oklch(78.1% 0.091 312.6)

  5. Step 400

    400

    #C084E1

    oklch(70.8% 0.145 312.8)

  6. Step 500

    500

    #AF60D8

    oklch(63% 0.187 312.7)

  7. Step 600

    600

    #9B42C6

    oklch(55.6% 0.204 312.7)

  8. Step 700

    700

    #8433AB

    oklch(49.1% 0.188 312.5)

  9. Step 800

    800

    #6B2C8A

    oklch(42.7% 0.155 312.5)

  10. Step 900

    900

    #57296F

    oklch(37.7% 0.122 312.3)

  11. Step 950

    950

    #331941

    oklch(27% 0.077 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#CCA7E2 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)#9EB3E40.068
Deuteranopia (no green cones)#A6B6E00.064
Tritanopia (no blue cones)#CAAEBC0.064
Achromatopsia (no color)#B5B5B50.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA7E2

    #CCA7E2

    oklch(78.1% 0.091 312.6)

  • #A1C588

    #A1C588

    oklch(78.2% 0.092 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA7E2

    #CCA7E2

    oklch(78.1% 0.091 312.6)

  • #AFB1F1

    #AFB1F1

    oklch(78.2% 0.091 282.7)

  • #E1A1C8

    #E1A1C8

    oklch(78.2% 0.091 342.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCA7E2

    #CCA7E2

    oklch(78.1% 0.091 312.6)

  • #C3BB74

    #C3BB74

    oklch(78.3% 0.092 102.7)

  • #80CAA7

    #80CAA7

    oklch(78.1% 0.09 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA7E2

    #CCA7E2

    oklch(78.1% 0.091 312.6)

  • #DCAF75

    #DCAF75

    oklch(78.2% 0.091 72.9)

  • #6ACAC7

    #6ACAC7

    oklch(78% 0.091 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA7E2

    #CCA7E2

    oklch(78.1% 0.091 312.6)

  • #EAA589

    #EAA589

    oklch(78.1% 0.091 43)

  • #A1C588

    #A1C588

    oklch(78.2% 0.092 133)

  • #71C5E2

    #71C5E2

    oklch(78.1% 0.091 222.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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