#CC7ECB

Closest named color: Lavender Pink (#DD85D7). oklch(70.1% 0.139 327.4), rgb(204, 126, 203).

Aa

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

About this color

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

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

Values

HEX#CC7ECB
RGBrgb(204, 126, 203)
HSLhsl(301, 43%, 65%)
OKLCHoklch(70.1% 0.139 327.4)

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 #CC7ECB 2.83:1 Fails Lc -59.4 Large or bold text, headings
Black text on #CC7ECB 7.41:1 AAA Lc 49.9 Large or bold text, headings
#CC7ECB text on white 2.83:1 Fails Lc 54.1 Large or bold text, headings
#CC7ECB text on black 7.41:1 AAA Lc -47.7 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

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DFADDE

    oklch(80.8% 0.087 327)

  5. Step 400

    400 (this color)

    #CC7ECB

    oklch(70.1% 0.139 327.4)

  6. Step 500

    500

    #BF5CC0

    oklch(63.1% 0.177 327)

  7. Step 600

    600

    #AB3EAC

    oklch(55.7% 0.192 327.4)

  8. Step 700

    700

    #922E93

    oklch(49% 0.179 327.5)

  9. Step 800

    800

    #772878

    oklch(42.7% 0.149 327.3)

  10. Step 900

    900

    #602660

    oklch(37.6% 0.115 327.6)

  11. Step 950

    950

    #391739

    oklch(27% 0.075 327.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC7ECB 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)#7893CE0.131
Deuteranopia (no green cones)#8D9DC80.118
Tritanopia (no blue cones)#D1859B0.079
Achromatopsia (no color)#9999990.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC7ECB

    #CC7ECB

    oklch(70.1% 0.139 327.4)

  • #5DB66B

    #5DB66B

    oklch(70.2% 0.138 147.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC7ECB

    #CC7ECB

    oklch(70.1% 0.139 327.4)

  • #A98BEA

    #A98BEA

    oklch(70.2% 0.138 297.3)

  • #E2779F

    #E2779F

    oklch(70.1% 0.139 357.6)

Open the analogous palette in the generator

Split complementary

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

  • #CC7ECB

    #CC7ECB

    oklch(70.1% 0.139 327.4)

  • #99AA37

    #99AA37

    oklch(70.3% 0.139 117.4)

  • #00B99E

    #00B99E

    oklch(70.3% 0.13 177.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC7ECB

    #CC7ECB

    oklch(70.1% 0.139 327.4)

  • #C39817

    #C39817

    oklch(70.1% 0.138 87.4)

  • #00B3C5

    #00B3C5

    oklch(70.1% 0.12 207.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC7ECB

    #CC7ECB

    oklch(70.1% 0.139 327.4)

  • #DE863D

    #DE863D

    oklch(70.1% 0.138 57.2)

  • #5DB66B

    #5DB66B

    oklch(70.2% 0.138 147.4)

  • #31AAEA

    #31AAEA

    oklch(70.2% 0.139 237.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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