#CA97D8

Closest named color: Pale Purple (#B790D4). oklch(74.7% 0.107 318.9), rgb(202, 151, 216).

Aa

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

About this color

#CA97D8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.107 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.036 away. Black text reads best on it, at 8.92:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.92:1
White text2.35:1

Values

HEX#CA97D8
RGBrgb(202, 151, 216)
HSLhsl(287, 45%, 72%)
OKLCHoklch(74.7% 0.107 318.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 #CA97D8 2.35:1 Fails Lc -51.2 Large or bold text, headings
Black text on #CA97D8 8.92:1 AAA Lc 57.7 Large or bold text, headings
#CA97D8 text on white 2.35:1 Fails Lc 46.3 Large or bold text, headings
#CA97D8 text on black 8.92:1 AAA Lc -55.8 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E4D2E9

    oklch(88.5% 0.037 318.9)

  4. Step 300

    300

    #D4B3DC

    oklch(80.8% 0.067 319.6)

  5. Step 400

    400 (this color)

    #CA97D8

    oklch(74.7% 0.107 318.9)

  6. Step 500

    500

    #AC6CBD

    oklch(63% 0.136 319)

  7. Step 600

    600

    #9752AA

    oklch(55.5% 0.149 318.6)

  8. Step 700

    700

    #814292

    oklch(49.1% 0.139 318.7)

  9. Step 800

    800

    #693776

    oklch(42.7% 0.114 319)

  10. Step 900

    900

    #55305F

    oklch(37.6% 0.089 318.8)

  11. Step 950

    950

    #321D38

    oklch(27.1% 0.056 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#CA97D8 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)#8FA6DB0.089
Deuteranopia (no green cones)#9BABD60.082
Tritanopia (no blue cones)#CB9EAE0.070
Achromatopsia (no color)#A9A9A90.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA97D8

    #CA97D8

    oklch(74.7% 0.107 318.9)

  • #8ABD7B

    #8ABD7B

    oklch(74.6% 0.106 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA97D8

    #CA97D8

    oklch(74.7% 0.107 318.9)

  • #AAA2EC

    #AAA2EC

    oklch(74.7% 0.106 288.5)

  • #DF91B8

    #DF91B8

    oklch(74.7% 0.106 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #CA97D8

    #CA97D8

    oklch(74.7% 0.107 318.9)

  • #B2B25F

    #B2B25F

    oklch(74.6% 0.106 108.7)

  • #5FC3A1

    #5FC3A1

    oklch(74.7% 0.107 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA97D8

    #CA97D8

    oklch(74.7% 0.107 318.9)

  • #D1A55A

    #D1A55A

    oklch(74.7% 0.107 79.3)

  • #47C1C6

    #47C1C6

    oklch(74.6% 0.106 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA97D8

    #CA97D8

    oklch(74.7% 0.107 318.9)

  • #E4986F

    #E4986F

    oklch(74.6% 0.107 48.9)

  • #8ABD7B

    #8ABD7B

    oklch(74.6% 0.106 138.7)

  • #5BBAE3

    #5BBAE3

    oklch(74.7% 0.107 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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