#CC31ED

Closest named color: Hot Purple (#CB00F5). oklch(63.2% 0.272 319.6), rgb(204, 49, 237).

Aa

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

About this color

#CC31ED is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.272 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.031 away. Black text reads best on it, at 5.22:1.

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

Values

HEX#CC31ED
RGBrgb(204, 49, 237)
HSLhsl(289, 84%, 56%)
OKLCHoklch(63.2% 0.272 319.6)

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 #CC31ED 4.01:1 AA large text Lc -71.4 Content text, not long reading
Black text on #CC31ED 5.22:1 AA Lc 38.2 Non-text elements, placeholder text
#CC31ED text on white 4.01:1 AA large text Lc 65.9 Content text, not long reading
#CC31ED text on black 5.22:1 AA Lc -35.7 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

    #E6A4F6

    oklch(80.9% 0.132 319.6)

  5. Step 400

    400

    #D86BF2

    oklch(70.7% 0.214 319.6)

  6. Step 500

    500 (this color)

    #CC31ED

    oklch(63.2% 0.272 319.6)

  7. Step 600

    600

    #B100D1

    oklch(55.5% 0.267 319.5)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #67047A

    oklch(37.6% 0.178 319.6)

  11. Step 950

    950

    #3D0A48

    oklch(27.1% 0.113 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#CC31ED 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)#0075F20.260
Deuteranopia (no green cones)#4284E90.240
Tritanopia (no blue cones)#CC5C910.167
Achromatopsia (no color)#7F7F7F0.275

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC31ED

    #CC31ED

    oklch(63.2% 0.272 319.6)

  • #35A400

    #35A400

    oklch(63.1% 0.201 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC31ED

    #CC31ED

    oklch(63.2% 0.272 319.6)

  • #8C69FF

    #8C69FF

    oklch(63.2% 0.213 289.6)

  • #F100A1

    #F100A1

    oklch(63.2% 0.264 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #CC31ED

    #CC31ED

    oklch(63.2% 0.272 319.6)

  • #909000

    #909000

    oklch(63.2% 0.138 109.8)

  • #00A27D

    #00A27D

    oklch(63.3% 0.126 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC31ED

    #CC31ED

    oklch(63.2% 0.272 319.6)

  • #B37F00

    #B37F00

    oklch(63.2% 0.131 79.8)

  • #009DA3

    #009DA3

    oklch(63.2% 0.108 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC31ED

    #CC31ED

    oklch(63.2% 0.272 319.6)

  • #D76400

    #D76400

    oklch(63.3% 0.168 49.7)

  • #35A400

    #35A400

    oklch(63.1% 0.201 139.6)

  • #0097C6

    #0097C6

    oklch(63.3% 0.125 229.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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