#CC8AFD

Closest named color: Liliac (#C48EFD). oklch(74.4% 0.172 309.3), rgb(204, 138, 253).

Aa

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

About this color

#CC8AFD is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.172 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.015 away. Black text reads best on it, at 8.62:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.62:1
White text2.43:1

Values

HEX#CC8AFD
RGBrgb(204, 138, 253)
HSLhsl(274, 97%, 77%)
OKLCHoklch(74.4% 0.172 309.3)

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 #CC8AFD 2.43:1 Fails Lc -52.7 Large or bold text, headings
Black text on #CC8AFD 8.62:1 AAA Lc 56.3 Large or bold text, headings
#CC8AFD text on white 2.43:1 Fails Lc 47.7 Large or bold text, headings
#CC8AFD text on black 8.62:1 AAA Lc -54.3 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E5CFF8

    oklch(88.5% 0.06 309.2)

  4. Step 300

    300

    #D5ADF5

    oklch(80.8% 0.108 309.4)

  5. Step 400

    400 (this color)

    #CC8AFD

    oklch(74.4% 0.172 309.3)

  6. Step 500

    500

    #B057EB

    oklch(63% 0.22 309.1)

  7. Step 600

    600

    #9C33D9

    oklch(55.5% 0.239 309.3)

  8. Step 700

    700

    #8623BC

    oklch(49.2% 0.222 309.5)

  9. Step 800

    800

    #6C2198

    oklch(42.6% 0.183 309.2)

  10. Step 900

    900

    #582379

    oklch(37.7% 0.143 309.4)

  11. Step 950

    950

    #331647

    oklch(26.9% 0.09 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC8AFD 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)#6FA3FF0.134
Deuteranopia (no green cones)#80A7FA0.122
Tritanopia (no blue cones)#C69CB80.122
Achromatopsia (no color)#A6A6A60.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC8AFD

    #CC8AFD

    oklch(74.4% 0.172 309.3)

  • #89C039

    #89C039

    oklch(74.4% 0.172 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC8AFD

    #CC8AFD

    oklch(74.4% 0.172 309.3)

  • #9BA2FF

    #9BA2FF

    oklch(74.4% 0.134 279.3)

  • #F07CCF

    #F07CCF

    oklch(74.3% 0.172 339.1)

Open the analogous palette in the generator

Split complementary

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

  • #CC8AFD

    #CC8AFD

    oklch(74.4% 0.172 309.3)

  • #C4AC00

    #C4AC00

    oklch(74.3% 0.154 99.2)

  • #00CB84

    #00CB84

    oklch(74.3% 0.17 159.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC8AFD

    #CC8AFD

    oklch(74.4% 0.172 309.3)

  • #EC9600

    #EC9600

    oklch(74.3% 0.162 69.4)

  • #00C5BD

    #00C5BD

    oklch(74.3% 0.128 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC8AFD

    #CC8AFD

    oklch(74.4% 0.172 309.3)

  • #FF845A

    #FF845A

    oklch(74.4% 0.16 39.3)

  • #89C039

    #89C039

    oklch(74.4% 0.172 129.2)

  • #00BFE6

    #00BFE6

    oklch(74.4% 0.135 219.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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