#CC51C2

Closest named color: Pinky Purple (#C94CBE). oklch(63.6% 0.203 331), rgb(204, 81, 194).

Aa

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

About this color

#CC51C2 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.203 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.012 away. Black text reads best on it, at 5.52:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.203)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.52:1
White text3.80:1

Values

HEX#CC51C2
RGBrgb(204, 81, 194)
HSLhsl(305, 55%, 56%)
OKLCHoklch(63.6% 0.203 331)

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 #CC51C2 3.80:1 AA large text Lc -70.3 Content text, not long reading
Black text on #CC51C2 5.52:1 AA Lc 39.3 Non-text elements, placeholder text
#CC51C2 text on white 3.80:1 AA large text Lc 64.8 Content text, not long reading
#CC51C2 text on black 5.52:1 AA Lc -36.9 Non-text elements, placeholder text

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

  1. Step 50

    50

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #EFCCEA

    oklch(88.4% 0.056 330.8)

  4. Step 300

    300

    #E6A9DE

    oklch(80.8% 0.099 331)

  5. Step 400

    400

    #D778CE

    oklch(70.6% 0.159 330.7)

  6. Step 500

    500 (this color)

    #CC51C2

    oklch(63.6% 0.203 331)

  7. Step 600

    600

    #B62BAD

    oklch(55.7% 0.221 331)

  8. Step 700

    700

    #9C1A94

    oklch(49.1% 0.205 331.1)

  9. Step 800

    800

    #7F1A78

    oklch(42.7% 0.17 331.2)

  10. Step 900

    900

    #661E61

    oklch(37.6% 0.133 330.8)

  11. Step 950

    950

    #3C1339

    oklch(26.9% 0.085 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#CC51C2 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)#4A78C50.210
Deuteranopia (no green cones)#7289BF0.183
Tritanopia (no blue cones)#D45D820.109
Achromatopsia (no color)#8383830.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC51C2

    #CC51C2

    oklch(63.6% 0.203 331)

  • #00A650

    #00A650

    oklch(63.4% 0.171 150.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC51C2

    #CC51C2

    oklch(63.6% 0.203 331)

  • #A164F0

    #A164F0

    oklch(63.5% 0.203 300.8)

  • #E64484

    #E64484

    oklch(63.6% 0.204 0.8)

Open the analogous palette in the generator

Split complementary

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

  • #CC51C2

    #CC51C2

    oklch(63.6% 0.203 331)

  • #7E9800

    #7E9800

    oklch(63.7% 0.153 121)

  • #00A18F

    #00A18F

    oklch(63.6% 0.114 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC51C2

    #CC51C2

    oklch(63.6% 0.203 331)

  • #A88700

    #A88700

    oklch(63.6% 0.13 91.4)

  • #009CB1

    #009CB1

    oklch(63.5% 0.11 211.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC51C2

    #CC51C2

    oklch(63.6% 0.203 331)

  • #C97200

    #C97200

    oklch(63.6% 0.147 61.2)

  • #00A650

    #00A650

    oklch(63.4% 0.171 150.9)

  • #0094DB

    #0094DB

    oklch(63.7% 0.148 240.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CC51C2.

Similar named colors

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

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