#CC2FEC

Closest named color: Hot Purple (#CB00F5). oklch(63% 0.273 319.9), rgb(204, 47, 236).

Aa

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

About this color

#CC2FEC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.273 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.030 away. Black text reads best on it, at 5.18:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.273)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.18:1
White text4.04:1

Values

HEX#CC2FEC
RGBrgb(204, 47, 236)
HSLhsl(290, 83%, 55%)
OKLCHoklch(63% 0.273 319.9)

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 #CC2FEC 4.04:1 AA large text Lc -71.7 Content text, not long reading
Black text on #CC2FEC 5.18:1 AA Lc 37.9 Non-text elements, placeholder text
#CC2FEC text on white 4.04:1 AA large text Lc 66.2 Content text, not long reading
#CC2FEC text on black 5.18:1 AA Lc -35.5 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FA

    oklch(93.6% 0.038 320.6)

  3. Step 200

    200

    #EFCAF8

    oklch(88.5% 0.074 319.6)

  4. Step 300

    300

    #E7A4F6

    oklch(81% 0.133 320.1)

  5. Step 400

    400

    #D96BF2

    oklch(70.8% 0.214 319.9)

  6. Step 500

    500 (this color)

    #CC2FEC

    oklch(63% 0.273 319.9)

  7. Step 600

    600

    #B200D0

    oklch(55.6% 0.267 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #67037A

    oklch(37.6% 0.178 319.7)

  11. Step 950

    950

    #3D0A47

    oklch(27% 0.112 320.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC2FEC 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)#0074F10.261
Deuteranopia (no green cones)#4283E80.241
Tritanopia (no blue cones)#CC5A900.166
Achromatopsia (no color)#7E7E7E0.276

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC2FEC

    #CC2FEC

    oklch(63% 0.273 319.9)

  • #32A400

    #32A400

    oklch(63% 0.202 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC2FEC

    #CC2FEC

    oklch(63% 0.273 319.9)

  • #8C68FF

    #8C68FF

    oklch(63.1% 0.214 289.8)

  • #F0009F

    #F0009F

    oklch(63% 0.263 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #CC2FEC

    #CC2FEC

    oklch(63% 0.273 319.9)

  • #8F8F00

    #8F8F00

    oklch(62.9% 0.137 109.8)

  • #00A17D

    #00A17D

    oklch(63% 0.125 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC2FEC

    #CC2FEC

    oklch(63% 0.273 319.9)

  • #B27E00

    #B27E00

    oklch(62.9% 0.13 79.6)

  • #009CA2

    #009CA2

    oklch(62.9% 0.107 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC2FEC

    #CC2FEC

    oklch(63% 0.273 319.9)

  • #D56400

    #D56400

    oklch(63% 0.166 50.2)

  • #32A400

    #32A400

    oklch(63% 0.202 139.9)

  • #0096C6

    #0096C6

    oklch(63% 0.126 229.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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