#C998FF

Closest named color: Baby Purple (#CA9BF7). oklch(76.5% 0.151 305), rgb(201, 152, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.151)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.41:1
White text2.22:1

Values

HEX#C998FF
RGBrgb(201, 152, 255)
HSLhsl(269, 100%, 80%)
OKLCHoklch(76.5% 0.151 305)

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 #C998FF 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #C998FF 9.41:1 AAA Lc 60.2 Content text, not long reading
#C998FF text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#C998FF text on black 9.41:1 AAA Lc -58.4 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

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #C998FF

    oklch(76.5% 0.151 305)

  5. Step 400

    400

    #BD7BFF

    oklch(70.6% 0.193 305.1)

  6. Step 500

    500

    #AE4EFF

    oklch(63.1% 0.25 305)

  7. Step 600

    600

    #9D00F5

    oklch(55.6% 0.289 305.1)

  8. Step 700

    700

    #8400D0

    oklch(49.1% 0.255 304.9)

  9. Step 800

    800

    #6D00AC

    oklch(42.7% 0.221 305.2)

  10. Step 900

    900

    #5B0092

    oklch(37.7% 0.196 304.8)

  11. Step 950

    950

    #360856

    oklch(27% 0.127 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#C998FF 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)#80ACFF0.105
Deuteranopia (no green cones)#8BAEFC0.097
Tritanopia (no blue cones)#C1A8BF0.113
Achromatopsia (no color)#AEAEAE0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #C998FF

    #C998FF

    oklch(76.5% 0.151 305)

  • #9DC34D

    #9DC34D

    oklch(76.6% 0.152 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C998FF

    #C998FF

    oklch(76.5% 0.151 305)

  • #9CACFF

    #9CACFF

    oklch(76.5% 0.121 274.9)

  • #EC8BD8

    #EC8BD8

    oklch(76.4% 0.151 335)

Open the analogous palette in the generator

Split complementary

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

  • #C998FF

    #C998FF

    oklch(76.5% 0.151 305)

  • #D1B01D

    #D1B01D

    oklch(76.4% 0.151 94.7)

  • #53CE87

    #53CE87

    oklch(76.4% 0.151 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C998FF

    #C998FF

    oklch(76.5% 0.151 305)

  • #F39C38

    #F39C38

    oklch(76.5% 0.151 65.1)

  • #00CEBE

    #00CEBE

    oklch(76.6% 0.135 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C998FF

    #C998FF

    oklch(76.5% 0.151 305)

  • #FF8F73

    #FF8F73

    oklch(76.5% 0.142 35)

  • #9DC34D

    #9DC34D

    oklch(76.6% 0.152 124.9)

  • #00C7E8

    #00C7E8

    oklch(76.4% 0.135 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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