#CC28F4

Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.284 318.2), rgb(204, 40, 244).

Aa

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

About this color

#CC28F4 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.020 away. Black text reads best on it, at 5.17:1.

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

Values

HEX#CC28F4
RGBrgb(204, 40, 244)
HSLhsl(288, 90%, 56%)
OKLCHoklch(63.1% 0.284 318.2)

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 #CC28F4 4.05:1 AA large text Lc -71.5 Content text, not long reading
Black text on #CC28F4 5.17:1 AA Lc 38.0 Non-text elements, placeholder text
#CC28F4 text on white 4.05:1 AA large text Lc 66.0 Content text, not long reading
#CC28F4 text on black 5.17:1 AA Lc -35.6 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

    #EFCAFB

    oklch(88.6% 0.077 317.8)

  4. Step 300

    300

    #E6A3FA

    oklch(80.9% 0.138 318.3)

  5. Step 400

    400

    #D869F8

    oklch(70.8% 0.222 318.1)

  6. Step 500

    500 (this color)

    #CC28F4

    oklch(63.1% 0.284 318.2)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B4

    oklch(49% 0.238 318.1)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  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

#CC28F4 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)#0074F90.262
Deuteranopia (no green cones)#3483F00.252
Tritanopia (no blue cones)#CB5C930.177
Achromatopsia (no color)#7E7E7E0.287

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC28F4

    #CC28F4

    oklch(63.1% 0.284 318.2)

  • #40A300

    #40A300

    oklch(63.1% 0.196 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC28F4

    #CC28F4

    oklch(63.1% 0.284 318.2)

  • #896AFF

    #896AFF

    oklch(63.1% 0.212 288.4)

  • #F000A4

    #F000A4

    oklch(63.2% 0.265 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #CC28F4

    #CC28F4

    oklch(63.1% 0.284 318.2)

  • #928F00

    #928F00

    oklch(63.2% 0.136 108.3)

  • #00A27B

    #00A27B

    oklch(63.3% 0.128 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC28F4

    #CC28F4

    oklch(63.1% 0.284 318.2)

  • #B47E00

    #B47E00

    oklch(63.1% 0.131 78.5)

  • #009DA1

    #009DA1

    oklch(63.2% 0.107 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC28F4

    #CC28F4

    oklch(63.1% 0.284 318.2)

  • #D96100

    #D96100

    oklch(63.2% 0.172 48)

  • #40A300

    #40A300

    oklch(63.1% 0.196 138.3)

  • #0097C4

    #0097C4

    oklch(63.2% 0.123 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 #CC28F4, closest first.

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

Similar named colors

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

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