#CC8FEA

Closest named color: Baby Purple (#CA9BF7). oklch(74.3% 0.142 314), rgb(204, 143, 234).

Aa

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

About this color

#CC8FEA is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.142 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.030 away. Black text reads best on it, at 8.68:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.142)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.68:1
White text2.41:1

Values

HEX#CC8FEA
RGBrgb(204, 143, 234)
HSLhsl(280, 68%, 74%)
OKLCHoklch(74.3% 0.142 314)

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 #CC8FEA 2.41:1 Fails Lc -52.4 Large or bold text, headings
Black text on #CC8FEA 8.68:1 AAA Lc 56.5 Large or bold text, headings
#CC8FEA text on white 2.41:1 Fails Lc 47.5 Large or bold text, headings
#CC8FEA text on black 8.68:1 AAA Lc -54.6 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

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0F0

    oklch(88.5% 0.049 314.2)

  4. Step 300

    300

    #D6B0E9

    oklch(80.9% 0.089 314.3)

  5. Step 400

    400 (this color)

    #CC8FEA

    oklch(74.3% 0.142 314)

  6. Step 500

    500

    #B061D5

    oklch(63.1% 0.182 313.8)

  7. Step 600

    600

    #9C44C2

    oklch(55.7% 0.197 314)

  8. Step 700

    700

    #8534A7

    oklch(49.1% 0.183 314.1)

  9. Step 800

    800

    #6C2D87

    oklch(42.7% 0.151 314.1)

  10. Step 900

    900

    #582A6C

    oklch(37.8% 0.117 314.4)

  11. Step 950

    950

    #331940

    oklch(26.9% 0.076 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#CC8FEA 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)#7FA3ED0.114
Deuteranopia (no green cones)#8EA8E70.104
Tritanopia (no blue cones)#CA9BB20.096
Achromatopsia (no color)#A7A7A70.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC8FEA

    #CC8FEA

    oklch(74.3% 0.142 314)

  • #85BF5E

    #85BF5E

    oklch(74.3% 0.142 134.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC8FEA

    #CC8FEA

    oklch(74.3% 0.142 314)

  • #A29FFF

    #A29FFF

    oklch(74.4% 0.137 284)

  • #E985C2

    #E985C2

    oklch(74.3% 0.142 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #CC8FEA

    #CC8FEA

    oklch(74.3% 0.142 314)

  • #BBAF2F

    #BBAF2F

    oklch(74.2% 0.142 103.8)

  • #38C793

    #38C793

    oklch(74.2% 0.142 164)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC8FEA

    #CC8FEA

    oklch(74.3% 0.142 314)

  • #E09C30

    #E09C30

    oklch(74.2% 0.142 73.9)

  • #00C4C3

    #00C4C3

    oklch(74.2% 0.127 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC8FEA

    #CC8FEA

    oklch(74.3% 0.142 314)

  • #F58C5D

    #F58C5D

    oklch(74.4% 0.142 44.2)

  • #85BF5E

    #85BF5E

    oklch(74.3% 0.142 134.2)

  • #00BDEC

    #00BDEC

    oklch(74.2% 0.139 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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