#CC98FD

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.149 306.9), rgb(204, 152, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.149)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.47:1
White text2.21:1

Values

HEX#CC98FD
RGBrgb(204, 152, 253)
HSLhsl(271, 96%, 79%)
OKLCHoklch(76.7% 0.149 306.9)

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 #CC98FD 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #CC98FD 9.47:1 AAA Lc 60.5 Content text, not long reading
#CC98FD text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#CC98FD text on black 9.47:1 AAA Lc -58.7 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 300.

  1. Step 50

    50

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F1E4FF

    oklch(93.7% 0.039 307.2)

  3. Step 200

    200

    #E5CDFF

    oklch(88.4% 0.072 306.7)

  4. Step 300

    300 (this color)

    #CC98FD

    oklch(76.7% 0.149 306.9)

  5. Step 400

    400

    #C179FF

    oklch(70.8% 0.197 306.9)

  6. Step 500

    500

    #B349FF

    oklch(63.2% 0.257 307)

  7. Step 600

    600

    #A000F1

    oklch(55.6% 0.286 306.9)

  8. Step 700

    700

    #8700CC

    oklch(49.1% 0.252 307)

  9. Step 800

    800

    #6F00A9

    oklch(42.7% 0.219 307)

  10. Step 900

    900

    #5D008F

    oklch(37.7% 0.194 306.8)

  11. Step 950

    950

    #370855

    oklch(27.1% 0.126 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#CC98FD 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)#81ACFF0.108
Deuteranopia (no green cones)#8DAFFA0.100
Tritanopia (no blue cones)#C5A8BF0.110
Achromatopsia (no color)#AEAEAE0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC98FD

    #CC98FD

    oklch(76.7% 0.149 306.9)

  • #9AC453

    #9AC453

    oklch(76.7% 0.149 126.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC98FD

    #CC98FD

    oklch(76.7% 0.149 306.9)

  • #A0ACFF

    #A0ACFF

    oklch(76.7% 0.12 276.9)

  • #EE8CD6

    #EE8CD6

    oklch(76.7% 0.149 336.7)

Open the analogous palette in the generator

Split complementary

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

  • #CC98FD

    #CC98FD

    oklch(76.7% 0.149 306.9)

  • #CEB224

    #CEB224

    oklch(76.6% 0.149 96.9)

  • #4FCF8C

    #4FCF8C

    oklch(76.6% 0.149 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC98FD

    #CC98FD

    oklch(76.7% 0.149 306.9)

  • #F29E38

    #F29E38

    oklch(76.7% 0.149 66.6)

  • #00CEC1

    #00CEC1

    oklch(76.7% 0.134 186.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC98FD

    #CC98FD

    oklch(76.7% 0.149 306.9)

  • #FF9071

    #FF9071

    oklch(76.6% 0.142 36.5)

  • #9AC453

    #9AC453

    oklch(76.7% 0.149 126.7)

  • #00C8EB

    #00C8EB

    oklch(76.7% 0.137 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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