#CC7EC2

Closest named color: Lavender Pink (#DD85D7). oklch(69.8% 0.13 331.6), rgb(204, 126, 194).

Aa

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

About this color

#CC7EC2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.130 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.044 away. Black text reads best on it, at 7.33:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.33:1
White text2.86:1

Values

HEX#CC7EC2
RGBrgb(204, 126, 194)
HSLhsl(308, 43%, 65%)
OKLCHoklch(69.8% 0.13 331.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 #CC7EC2 2.86:1 Fails Lc -59.9 Large or bold text, headings
Black text on #CC7EC2 7.33:1 AAA Lc 49.4 Large or bold text, headings
#CC7EC2 text on white 2.86:1 Fails Lc 54.6 Large or bold text, headings
#CC7EC2 text on black 7.33:1 AAA Lc -47.2 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #ECCFE7

    oklch(88.6% 0.045 331.7)

  4. Step 300

    300

    #E0AED9

    oklch(80.9% 0.081 331.1)

  5. Step 400

    400 (this color)

    #CC7EC2

    oklch(69.8% 0.13 331.6)

  6. Step 500

    500

    #C15EB6

    oklch(63.1% 0.166 331.7)

  7. Step 600

    600

    #AC41A2

    oklch(55.7% 0.18 331.6)

  8. Step 700

    700

    #93318B

    oklch(49% 0.169 331.2)

  9. Step 800

    800

    #782A70

    oklch(42.7% 0.139 332)

  10. Step 900

    900

    #61285B

    oklch(37.8% 0.108 331.7)

  11. Step 950

    950

    #391835

    oklch(27% 0.068 332)

Export this scale for Tailwind in the Tailwind colors tool

#CC7EC2 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)#7C92C40.126
Deuteranopia (no green cones)#909DC00.116
Tritanopia (no blue cones)#D283970.070
Achromatopsia (no color)#9999990.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC7EC2

    #CC7EC2

    oklch(69.8% 0.13 331.6)

  • #58B474

    #58B474

    oklch(69.7% 0.129 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC7EC2

    #CC7EC2

    oklch(69.8% 0.13 331.6)

  • #AC89E1

    #AC89E1

    oklch(69.7% 0.13 301.4)

  • #DF7998

    #DF7998

    oklch(69.8% 0.13 1.6)

Open the analogous palette in the generator

Split complementary

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

  • #CC7EC2

    #CC7EC2

    oklch(69.8% 0.13 331.6)

  • #91AA46

    #91AA46

    oklch(69.8% 0.13 121.6)

  • #00B6A3

    #00B6A3

    oklch(69.6% 0.125 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC7EC2

    #CC7EC2

    oklch(69.8% 0.13 331.6)

  • #BB9A29

    #BB9A29

    oklch(69.7% 0.13 91.6)

  • #00B1C9

    #00B1C9

    oklch(69.8% 0.121 211.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC7EC2

    #CC7EC2

    oklch(69.8% 0.13 331.6)

  • #D7893E

    #D7893E

    oklch(69.8% 0.131 61.5)

  • #58B474

    #58B474

    oklch(69.7% 0.129 151.6)

  • #47A7E7

    #47A7E7

    oklch(69.9% 0.13 241.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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