#CC7EE2

Closest named color: Orchid (#DA70D6). oklch(71.2% 0.162 318.6), rgb(204, 126, 226).

Aa

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

About this color

#CC7EE2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.162 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.037 away. Black text reads best on it, at 7.65:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.162)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.65:1
White text2.74:1

Values

HEX#CC7EE2
RGBrgb(204, 126, 226)
HSLhsl(287, 63%, 69%)
OKLCHoklch(71.2% 0.162 318.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 #CC7EE2 2.74:1 Fails Lc -58.0 Large or bold text, headings
Black text on #CC7EE2 7.65:1 AAA Lc 51.2 Large or bold text, headings
#CC7EE2 text on white 2.74:1 Fails Lc 52.8 Large or bold text, headings
#CC7EE2 text on black 7.65:1 AAA Lc -49.1 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DDACEB

    oklch(81% 0.101 318.6)

  5. Step 400

    400 (this color)

    #CC7EE2

    oklch(71.2% 0.162 318.6)

  6. Step 500

    500

    #BC55D7

    oklch(63% 0.207 318.8)

  7. Step 600

    600

    #A733C5

    oklch(55.6% 0.225 318.4)

  8. Step 700

    700

    #8F23AA

    oklch(49.1% 0.209 318.4)

  9. Step 800

    800

    #74208A

    oklch(42.6% 0.174 318.2)

  10. Step 900

    900

    #5E226E

    oklch(37.7% 0.135 318.5)

  11. Step 950

    950

    #371540

    oklch(26.9% 0.085 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC7EE2 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)#6E97E60.142
Deuteranopia (no green cones)#839FDF0.129
Tritanopia (no blue cones)#CC8BA50.104
Achromatopsia (no color)#9C9C9C0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC7EE2

    #CC7EE2

    oklch(71.2% 0.162 318.6)

  • #6AB94F

    #6AB94F

    oklch(71.1% 0.162 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC7EE2

    #CC7EE2

    oklch(71.2% 0.162 318.6)

  • #A08FFF

    #A08FFF

    oklch(71.3% 0.16 288.6)

  • #E973B3

    #E973B3

    oklch(71.1% 0.162 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #CC7EE2

    #CC7EE2

    oklch(71.2% 0.162 318.6)

  • #ABA800

    #ABA800

    oklch(71.1% 0.154 108.5)

  • #00BE92

    #00BE92

    oklch(71.2% 0.143 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC7EE2

    #CC7EE2

    oklch(71.2% 0.162 318.6)

  • #D39500

    #D39500

    oklch(71.2% 0.148 78.9)

  • #00B8BE

    #00B8BE

    oklch(71.1% 0.121 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC7EE2

    #CC7EE2

    oklch(71.2% 0.162 318.6)

  • #F17E39

    #F17E39

    oklch(71.2% 0.163 48.5)

  • #6AB94F

    #6AB94F

    oklch(71.1% 0.162 138.4)

  • #00B1E7

    #00B1E7

    oklch(71.1% 0.14 229)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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