#CC7DF7

Closest named color: Light Purple (#BF77F6). oklch(72.1% 0.186 312.5), rgb(204, 125, 247).

Aa

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

About this color

#CC7DF7 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.186 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.027 away. Black text reads best on it, at 7.84:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.186)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.84:1
White text2.67:1

Values

HEX#CC7DF7
RGBrgb(204, 125, 247)
HSLhsl(279, 88%, 73%)
OKLCHoklch(72.1% 0.186 312.5)

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 #CC7DF7 2.67:1 Fails Lc -56.9 Large or bold text, headings
Black text on #CC7DF7 7.84:1 AAA Lc 52.3 Large or bold text, headings
#CC7DF7 text on white 2.67:1 Fails Lc 51.7 Large or bold text, headings
#CC7DF7 text on black 7.84:1 AAA Lc -50.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CDF8

    oklch(88.4% 0.065 312.9)

  4. Step 300

    300

    #DAAAF7

    oklch(80.8% 0.117 312.3)

  5. Step 400

    400 (this color)

    #CC7DF7

    oklch(72.1% 0.186 312.5)

  6. Step 500

    500

    #B94DED

    oklch(63.1% 0.237 312.6)

  7. Step 600

    600

    #A521DC

    oklch(55.7% 0.258 312.5)

  8. Step 700

    700

    #8D0ABF

    oklch(49.1% 0.24 312.3)

  9. Step 800

    800

    #73139A

    oklch(42.8% 0.199 312.7)

  10. Step 900

    900

    #5D1C7B

    oklch(37.8% 0.155 312.5)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#CC7DF7 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)#609AFB0.156
Deuteranopia (no green cones)#78A0F40.140
Tritanopia (no blue cones)#C890AF0.127
Achromatopsia (no color)#9E9E9E0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC7DF7

    #CC7DF7

    oklch(72.1% 0.186 312.5)

  • #75BC29

    #75BC29

    oklch(72.1% 0.186 132.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC7DF7

    #CC7DF7

    oklch(72.1% 0.186 312.5)

  • #9897FF

    #9897FF

    oklch(72.1% 0.149 282.4)

  • #F06EC4

    #F06EC4

    oklch(72% 0.186 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #CC7DF7

    #CC7DF7

    oklch(72.1% 0.186 312.5)

  • #B8A700

    #B8A700

    oklch(72% 0.151 102.1)

  • #00C287

    #00C287

    oklch(72% 0.156 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC7DF7

    #CC7DF7

    oklch(72.1% 0.186 312.5)

  • #DF9200

    #DF9200

    oklch(72% 0.154 72)

  • #00BDB9

    #00BDB9

    oklch(72.1% 0.124 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC7DF7

    #CC7DF7

    oklch(72.1% 0.186 312.5)

  • #FF773A

    #FF773A

    oklch(72.1% 0.181 42.6)

  • #75BC29

    #75BC29

    oklch(72.1% 0.186 132.6)

  • #00B6E1

    #00B6E1

    oklch(72% 0.134 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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