#CA97DF

Closest named color: Baby Purple (#CA9BF7). oklch(75% 0.115 315.8), rgb(202, 151, 223).

Aa

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

About this color

#CA97DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.115 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.034 away. Black text reads best on it, at 9.00:1.

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

Values

HEX#CA97DF
RGBrgb(202, 151, 223)
HSLhsl(283, 53%, 73%)
OKLCHoklch(75% 0.115 315.8)

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 #CA97DF 2.33:1 Fails Lc -50.8 Large or bold text, headings
Black text on #CA97DF 9.00:1 AAA Lc 58.1 Large or bold text, headings
#CA97DF text on white 2.33:1 Fails Lc 45.9 Large or bold text, headings
#CA97DF 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

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EB

    oklch(88.6% 0.039 316.6)

  4. Step 300

    300

    #D3B3E0

    oklch(80.9% 0.071 316.1)

  5. Step 400

    400 (this color)

    #CA97DF

    oklch(75% 0.115 315.8)

  6. Step 500

    500

    #AB6BC5

    oklch(63.1% 0.146 315.6)

  7. Step 600

    600

    #9650B1

    oklch(55.5% 0.159 315.7)

  8. Step 700

    700

    #804098

    oklch(49% 0.148 315.9)

  9. Step 800

    800

    #68367C

    oklch(42.7% 0.123 315.4)

  10. Step 900

    900

    #552F63

    oklch(37.6% 0.096 316.3)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA97DF 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)#8DA7E20.091
Deuteranopia (no green cones)#98ABDD0.085
Tritanopia (no blue cones)#C9A0B10.078
Achromatopsia (no color)#AAAAAA0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA97DF

    #CA97DF

    oklch(75% 0.115 315.8)

  • #8DBE74

    #8DBE74

    oklch(74.9% 0.114 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA97DF

    #CA97DF

    oklch(75% 0.115 315.8)

  • #A7A3F3

    #A7A3F3

    oklch(75% 0.114 285.6)

  • #E290BD

    #E290BD

    oklch(75% 0.114 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #CA97DF

    #CA97DF

    oklch(75% 0.115 315.8)

  • #B8B256

    #B8B256

    oklch(75% 0.115 105.5)

  • #5CC59D

    #5CC59D

    oklch(75% 0.115 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA97DF

    #CA97DF

    oklch(75% 0.115 315.8)

  • #D7A354

    #D7A354

    oklch(74.9% 0.114 75.9)

  • #39C4C5

    #39C4C5

    oklch(74.9% 0.115 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA97DF

    #CA97DF

    oklch(75% 0.115 315.8)

  • #EA966E

    #EA966E

    oklch(75% 0.115 46)

  • #8DBE74

    #8DBE74

    oklch(74.9% 0.114 135.6)

  • #4EBCE5

    #4EBCE5

    oklch(74.8% 0.115 226.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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