#CC7DE4

Closest named color: Orchid (#DA70D6). oklch(71.1% 0.166 318), rgb(204, 125, 228).

Aa

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

About this color

#CC7DE4 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.166 and its hue 318°. 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.62:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.166)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.62:1
White text2.75:1

Values

HEX#CC7DE4
RGBrgb(204, 125, 228)
HSLhsl(286, 66%, 69%)
OKLCHoklch(71.1% 0.166 318)

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 #CC7DE4 2.75:1 Fails Lc -58.2 Large or bold text, headings
Black text on #CC7DE4 7.62:1 AAA Lc 51.1 Large or bold text, headings
#CC7DE4 text on white 2.75:1 Fails Lc 52.9 Large or bold text, headings
#CC7DE4 text on black 7.62:1 AAA Lc -48.9 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DDACEC

    oklch(81% 0.103 318.2)

  5. Step 400

    400 (this color)

    #CC7DE4

    oklch(71.1% 0.166 318)

  6. Step 500

    500

    #BC54DA

    oklch(63.1% 0.211 318)

  7. Step 600

    600

    #A830C7

    oklch(55.6% 0.23 318.3)

  8. Step 700

    700

    #9020AC

    oklch(49.2% 0.214 318.3)

  9. Step 800

    800

    #751E8C

    oklch(42.8% 0.178 318.1)

  10. Step 900

    900

    #5E2170

    oklch(37.7% 0.138 317.6)

  11. Step 950

    950

    #371541

    oklch(26.9% 0.087 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#CC7DE4 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)#6C97E80.145
Deuteranopia (no green cones)#829EE10.130
Tritanopia (no blue cones)#CC8BA60.107
Achromatopsia (no color)#9C9C9C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC7DE4

    #CC7DE4

    oklch(71.1% 0.166 318)

  • #6AB94B

    #6AB94B

    oklch(71.1% 0.165 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC7DE4

    #CC7DE4

    oklch(71.1% 0.166 318)

  • #9E8FFF

    #9E8FFF

    oklch(71.1% 0.16 287.8)

  • #EA72B4

    #EA72B4

    oklch(71.1% 0.165 348)

Open the analogous palette in the generator

Split complementary

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

  • #CC7DE4

    #CC7DE4

    oklch(71.1% 0.166 318)

  • #ACA800

    #ACA800

    oklch(71.2% 0.153 108)

  • #00BE90

    #00BE90

    oklch(71.2% 0.145 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC7DE4

    #CC7DE4

    oklch(71.1% 0.166 318)

  • #D49400

    #D49400

    oklch(71.1% 0.148 77.9)

  • #00B8BD

    #00B8BD

    oklch(71% 0.121 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC7DE4

    #CC7DE4

    oklch(71.1% 0.166 318)

  • #F27C37

    #F27C37

    oklch(71% 0.166 47.7)

  • #6AB94B

    #6AB94B

    oklch(71.1% 0.165 137.9)

  • #00B1E5

    #00B1E5

    oklch(71% 0.139 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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