#CC27F3

Closest named color: Hot Purple (#CB00F5). oklch(63% 0.284 318.5), rgb(204, 39, 243).

Aa

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

About this color

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

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

Values

HEX#CC27F3
RGBrgb(204, 39, 243)
HSLhsl(289, 89%, 55%)
OKLCHoklch(63% 0.284 318.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 #CC27F3 4.07:1 AA large text Lc -71.7 Content text, not long reading
Black text on #CC27F3 5.15:1 AA Lc 37.9 Non-text elements, placeholder text
#CC27F3 text on white 4.07:1 AA large text Lc 66.2 Content text, not long reading
#CC27F3 text on black 5.15: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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #EFCAFA

    oklch(88.5% 0.076 318.4)

  4. Step 300

    300

    #E6A3FA

    oklch(80.9% 0.138 318.3)

  5. Step 400

    400

    #D868F7

    oklch(70.6% 0.223 318.4)

  6. Step 500

    500 (this color)

    #CC27F3

    oklch(63% 0.284 318.5)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B4

    oklch(49.2% 0.238 318.4)

  9. Step 800

    800

    #7B0095

    oklch(42.8% 0.207 318.4)

  10. Step 900

    900

    #67007D

    oklch(37.7% 0.182 318.5)

  11. Step 950

    950

    #3D084A

    oklch(27.1% 0.117 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#CC27F3 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)#0074F80.263
Deuteranopia (no green cones)#3483EF0.253
Tritanopia (no blue cones)#CB5B920.177
Achromatopsia (no color)#7E7E7E0.286

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC27F3

    #CC27F3

    oklch(63% 0.284 318.5)

  • #3EA300

    #3EA300

    oklch(63.1% 0.197 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC27F3

    #CC27F3

    oklch(63% 0.284 318.5)

  • #8969FF

    #8969FF

    oklch(63% 0.213 288.6)

  • #EF00A3

    #EF00A3

    oklch(63% 0.264 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #CC27F3

    #CC27F3

    oklch(63% 0.284 318.5)

  • #918F00

    #918F00

    oklch(63.1% 0.137 108.8)

  • #00A17B

    #00A17B

    oklch(63% 0.127 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC27F3

    #CC27F3

    oklch(63% 0.284 318.5)

  • #B47E00

    #B47E00

    oklch(63.1% 0.131 78.5)

  • #009CA1

    #009CA1

    oklch(62.9% 0.107 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC27F3

    #CC27F3

    oklch(63% 0.284 318.5)

  • #D86100

    #D86100

    oklch(63% 0.171 48.2)

  • #3EA300

    #3EA300

    oklch(63.1% 0.197 138.5)

  • #0096C4

    #0096C4

    oklch(62.9% 0.124 228.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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