#C997E2

Closest named color: Baby Purple (#CA9BF7). oklch(75% 0.118 314), rgb(201, 151, 226).

Aa

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

About this color

#C997E2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.118 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 9.00:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.00:1
White text2.33:1

Values

HEX#C997E2
RGBrgb(201, 151, 226)
HSLhsl(280, 56%, 74%)
OKLCHoklch(75% 0.118 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 #C997E2 2.33:1 Fails Lc -50.8 Large or bold text, headings
Black text on #C997E2 9.00:1 AAA Lc 58.1 Large or bold text, headings
#C997E2 text on white 2.33:1 Fails Lc 45.9 Large or bold text, headings
#C997E2 text on black 9.00:1 AAA Lc -56.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D2EC

    oklch(88.5% 0.04 314.1)

  4. Step 300

    300

    #D2B3E2

    oklch(80.9% 0.073 314.1)

  5. Step 400

    400 (this color)

    #C997E2

    oklch(75% 0.118 314)

  6. Step 500

    500

    #AA6AC8

    oklch(63% 0.151 314.2)

  7. Step 600

    600

    #9550B5

    oklch(55.6% 0.163 313.9)

  8. Step 700

    700

    #7F409C

    oklch(49.1% 0.152 313.8)

  9. Step 800

    800

    #67357E

    oklch(42.6% 0.126 313.9)

  10. Step 900

    900

    #542F65

    oklch(37.6% 0.098 314.2)

  11. Step 950

    950

    #311C3B

    oklch(26.9% 0.062 314.1)

Export this scale for Tailwind in the Tailwind colors tool

#C997E2 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)#8BA7E50.092
Deuteranopia (no green cones)#97ABE00.084
Tritanopia (no blue cones)#C7A1B20.082
Achromatopsia (no color)#AAAAAA0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #C997E2

    #C997E2

    oklch(75% 0.118 314)

  • #8FBE70

    #8FBE70

    oklch(74.9% 0.117 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C997E2

    #C997E2

    oklch(75% 0.118 314)

  • #A5A3F6

    #A5A3F6

    oklch(74.9% 0.118 284.3)

  • #E28FC0

    #E28FC0

    oklch(75% 0.117 344)

Open the analogous palette in the generator

Split complementary

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

  • #C997E2

    #C997E2

    oklch(75% 0.118 314)

  • #BAB152

    #BAB152

    oklch(74.9% 0.117 103.9)

  • #5CC59A

    #5CC59A

    oklch(74.9% 0.117 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C997E2

    #C997E2

    oklch(75% 0.118 314)

  • #DAA252

    #DAA252

    oklch(75% 0.118 74)

  • #32C5C4

    #32C5C4

    oklch(75% 0.118 194.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C997E2

    #C997E2

    oklch(75% 0.118 314)

  • #EC956F

    #EC956F

    oklch(75.1% 0.117 44.1)

  • #8FBE70

    #8FBE70

    oklch(74.9% 0.117 133.8)

  • #47BDE5

    #47BDE5

    oklch(74.9% 0.118 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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