#CC8EE5

Closest named color: Baby Purple (#CA9BF7). oklch(73.9% 0.138 315.8), rgb(204, 142, 229).

Aa

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

About this color

#CC8EE5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.138 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.035 away. Black text reads best on it, at 8.56:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.56:1
White text2.45:1

Values

HEX#CC8EE5
RGBrgb(204, 142, 229)
HSLhsl(283, 63%, 73%)
OKLCHoklch(73.9% 0.138 315.8)

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 #CC8EE5 2.45:1 Fails Lc -53.1 Large or bold text, headings
Black text on #CC8EE5 8.56:1 AAA Lc 55.9 Large or bold text, headings
#CC8EE5 text on white 2.45:1 Fails Lc 48.1 Large or bold text, headings
#CC8EE5 text on black 8.56:1 AAA Lc -53.9 Large or bold text, headings

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

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7B0E7

    oklch(81% 0.087 316)

  5. Step 400

    400 (this color)

    #CC8EE5

    oklch(73.9% 0.138 315.8)

  6. Step 500

    500

    #B262D0

    oklch(63.1% 0.176 316)

  7. Step 600

    600

    #9D45BD

    oklch(55.6% 0.191 315.9)

  8. Step 700

    700

    #8635A3

    oklch(49.1% 0.179 315.8)

  9. Step 800

    800

    #6D2D84

    oklch(42.6% 0.148 316)

  10. Step 900

    900

    #582A6A

    oklch(37.7% 0.115 315.5)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#CC8EE5 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)#80A2E80.114
Deuteranopia (no green cones)#8FA7E20.104
Tritanopia (no blue cones)#CB99AF0.092
Achromatopsia (no color)#A5A5A50.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC8EE5

    #CC8EE5

    oklch(73.9% 0.138 315.8)

  • #82BE63

    #82BE63

    oklch(73.9% 0.138 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC8EE5

    #CC8EE5

    oklch(73.9% 0.138 315.8)

  • #A39CFD

    #A39CFD

    oklch(73.8% 0.138 285.8)

  • #E885BD

    #E885BD

    oklch(74% 0.138 346)

Open the analogous palette in the generator

Split complementary

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

  • #CC8EE5

    #CC8EE5

    oklch(73.9% 0.138 315.8)

  • #B6AF36

    #B6AF36

    oklch(73.8% 0.138 106)

  • #38C596

    #38C596

    oklch(73.8% 0.137 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC8EE5

    #CC8EE5

    oklch(73.9% 0.138 315.8)

  • #DC9D33

    #DC9D33

    oklch(73.9% 0.138 75.8)

  • #00C2C4

    #00C2C4

    oklch(73.8% 0.126 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC8EE5

    #CC8EE5

    oklch(73.9% 0.138 315.8)

  • #F18C5C

    #F18C5C

    oklch(73.9% 0.138 45.4)

  • #82BE63

    #82BE63

    oklch(73.9% 0.138 135.8)

  • #16BBEC

    #16BBEC

    oklch(73.8% 0.138 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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