#CC8FE4

Closest named color: Baby Purple (#CA9BF7). oklch(74% 0.135 316.1), rgb(204, 143, 228).

Aa

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

About this color

#CC8FE4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.135 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.61:1.

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

Values

HEX#CC8FE4
RGBrgb(204, 143, 228)
HSLhsl(283, 61%, 73%)
OKLCHoklch(74% 0.135 316.1)

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 #CC8FE4 2.43:1 Fails Lc -52.8 Large or bold text, headings
Black text on #CC8FE4 8.61:1 AAA Lc 56.2 Large or bold text, headings
#CC8FE4 text on white 2.43:1 Fails Lc 47.8 Large or bold text, headings
#CC8FE4 text on black 8.61:1 AAA Lc -54.2 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D6B0E6

    oklch(80.8% 0.085 315.8)

  5. Step 400

    400 (this color)

    #CC8FE4

    oklch(74% 0.135 316.1)

  6. Step 500

    500

    #B163CE

    oklch(63.1% 0.172 316.1)

  7. Step 600

    600

    #9C46BB

    oklch(55.5% 0.188 316)

  8. Step 700

    700

    #8637A1

    oklch(49.2% 0.174 316.4)

  9. Step 800

    800

    #6D2E83

    oklch(42.7% 0.146 316.3)

  10. Step 900

    900

    #582B69

    oklch(37.7% 0.112 315.9)

  11. Step 950

    950

    #341A3D

    oklch(27.1% 0.07 316.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC8FE4 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)#82A2E70.111
Deuteranopia (no green cones)#91A8E10.102
Tritanopia (no blue cones)#CB9AAF0.091
Achromatopsia (no color)#A6A6A60.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC8FE4

    #CC8FE4

    oklch(74% 0.135 316.1)

  • #83BE65

    #83BE65

    oklch(74% 0.135 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC8FE4

    #CC8FE4

    oklch(74% 0.135 316.1)

  • #A49DFC

    #A49DFC

    oklch(74% 0.135 286)

  • #E786BD

    #E786BD

    oklch(74% 0.135 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #CC8FE4

    #CC8FE4

    oklch(74% 0.135 316.1)

  • #B6B03B

    #B6B03B

    oklch(74.1% 0.136 106.4)

  • #3CC597

    #3CC597

    oklch(73.9% 0.135 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC8FE4

    #CC8FE4

    oklch(74% 0.135 316.1)

  • #DB9E37

    #DB9E37

    oklch(74% 0.135 76.4)

  • #00C3C5

    #00C3C5

    oklch(74.1% 0.126 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC8FE4

    #CC8FE4

    oklch(74% 0.135 316.1)

  • #F08E5E

    #F08E5E

    oklch(74.1% 0.135 46.1)

  • #83BE65

    #83BE65

    oklch(74% 0.135 135.9)

  • #23BBEC

    #23BBEC

    oklch(74% 0.136 226.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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