#CCA7DC

Closest named color: Plum (#DDA0DD). oklch(77.9% 0.084 315.6), rgb(204, 167, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.12:1
White text2.07:1

Values

HEX#CCA7DC
RGBrgb(204, 167, 220)
HSLhsl(282, 43%, 76%)
OKLCHoklch(77.9% 0.084 315.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 #CCA7DC 2.07:1 Fails Lc -45.0 Large or bold text, headings
Black text on #CCA7DC 10.12:1 AAA Lc 63.5 Content text, not long reading
#CCA7DC text on white 2.07:1 Fails Lc 40.5 Non-text elements, placeholder text
#CCA7DC text on black 10.12:1 AAA Lc -61.8 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

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D0EF

    oklch(88.4% 0.048 315)

  4. Step 300

    300 (this color)

    #CCA7DC

    oklch(77.9% 0.084 315.6)

  5. Step 400

    400

    #C185D9

    oklch(70.7% 0.135 315.9)

  6. Step 500

    500

    #B063CF

    oklch(63% 0.173 315.4)

  7. Step 600

    600

    #9C47BC

    oklch(55.7% 0.187 315.6)

  8. Step 700

    700

    #8537A2

    oklch(49.1% 0.174 315.6)

  9. Step 800

    800

    #6C2F83

    oklch(42.7% 0.144 315.6)

  10. Step 900

    900

    #582B69

    oklch(37.7% 0.112 315.9)

  11. Step 950

    950

    #331A3E

    oklch(27% 0.071 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCA7DC 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)#A0B2DE0.065
Deuteranopia (no green cones)#A8B5DA0.060
Tritanopia (no blue cones)#CCADB90.058
Achromatopsia (no color)#B4B4B40.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA7DC

    #CCA7DC

    oklch(77.9% 0.084 315.6)

  • #9FC48E

    #9FC48E

    oklch(77.9% 0.084 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA7DC

    #CCA7DC

    oklch(77.9% 0.084 315.6)

  • #B1B0EB

    #B1B0EB

    oklch(77.9% 0.084 285.1)

  • #DFA2C3

    #DFA2C3

    oklch(78% 0.084 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCA7DC

    #CCA7DC

    oklch(77.9% 0.084 315.6)

  • #BEBB7B

    #BEBB7B

    oklch(77.9% 0.084 105.9)

  • #82C9AA

    #82C9AA

    oklch(78% 0.085 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA7DC

    #CCA7DC

    oklch(77.9% 0.084 315.6)

  • #D7B079

    #D7B079

    oklch(77.9% 0.085 75.5)

  • #71C8C8

    #71C8C8

    oklch(77.8% 0.084 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA7DC

    #CCA7DC

    oklch(77.9% 0.084 315.6)

  • #E5A78A

    #E5A78A

    oklch(78% 0.084 46.1)

  • #9FC48E

    #9FC48E

    oklch(77.9% 0.084 136)

  • #7AC3E0

    #7AC3E0

    oklch(78% 0.084 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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