#CA97D9

Closest named color: Pale Purple (#B790D4). oklch(74.7% 0.108 318.4), rgb(202, 151, 217).

Aa

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

About this color

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

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

Values

HEX#CA97D9
RGBrgb(202, 151, 217)
HSLhsl(286, 46%, 72%)
OKLCHoklch(74.7% 0.108 318.4)

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 #CA97D9 2.34:1 Fails Lc -51.2 Large or bold text, headings
Black text on #CA97D9 8.93:1 AAA Lc 57.8 Large or bold text, headings
#CA97D9 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#CA97D9 text on black 8.93: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

    #D3B3DD

    oklch(80.8% 0.068 318.1)

  5. Step 400

    400 (this color)

    #CA97D9

    oklch(74.7% 0.108 318.4)

  6. Step 500

    500

    #AC6CBF

    oklch(63.1% 0.138 318.2)

  7. Step 600

    600

    #9752AB

    oklch(55.6% 0.15 318.2)

  8. Step 700

    700

    #814292

    oklch(49.1% 0.139 318.7)

  9. Step 800

    800

    #693777

    oklch(42.7% 0.116 318.5)

  10. Step 900

    900

    #553060

    oklch(37.6% 0.09 318.1)

  11. Step 950

    950

    #321D38

    oklch(27.1% 0.056 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#CA97D9 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)#8FA6DC0.089
Deuteranopia (no green cones)#9AABD70.083
Tritanopia (no blue cones)#CA9EAF0.070
Achromatopsia (no color)#A9A9A90.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA97D9

    #CA97D9

    oklch(74.7% 0.108 318.4)

  • #8ABD7A

    #8ABD7A

    oklch(74.6% 0.107 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA97D9

    #CA97D9

    oklch(74.7% 0.108 318.4)

  • #AAA2ED

    #AAA2ED

    oklch(74.7% 0.107 288.4)

  • #E090B9

    #E090B9

    oklch(74.7% 0.109 348)

Open the analogous palette in the generator

Split complementary

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

  • #CA97D9

    #CA97D9

    oklch(74.7% 0.108 318.4)

  • #B3B25E

    #B3B25E

    oklch(74.6% 0.107 108.1)

  • #5FC3A0

    #5FC3A0

    oklch(74.7% 0.108 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA97D9

    #CA97D9

    oklch(74.7% 0.108 318.4)

  • #D2A459

    #D2A459

    oklch(74.6% 0.108 78.1)

  • #45C2C6

    #45C2C6

    oklch(74.8% 0.108 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA97D9

    #CA97D9

    oklch(74.7% 0.108 318.4)

  • #E5986F

    #E5986F

    oklch(74.8% 0.108 48.6)

  • #8ABD7A

    #8ABD7A

    oklch(74.6% 0.107 138.4)

  • #5ABAE3

    #5ABAE3

    oklch(74.7% 0.108 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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