#CA98E9

Closest named color: Baby Purple (#CA9BF7). oklch(75.6% 0.125 311.9), rgb(202, 152, 233).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.17:1
White text2.28:1

Values

HEX#CA98E9
RGBrgb(202, 152, 233)
HSLhsl(277, 65%, 75%)
OKLCHoklch(75.6% 0.125 311.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 #CA98E9 2.28:1 Fails Lc -49.9 Large or bold text, headings
Black text on #CA98E9 9.17:1 AAA Lc 59.0 Large or bold text, headings
#CA98E9 text on white 2.28:1 Fails Lc 45.0 Large or bold text, headings
#CA98E9 text on black 9.17:1 AAA Lc -57.1 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EE

    oklch(88.4% 0.044 312.8)

  4. Step 300

    300

    #D2B3E6

    oklch(81% 0.078 312)

  5. Step 400

    400 (this color)

    #CA98E9

    oklch(75.6% 0.125 311.9)

  6. Step 500

    500

    #A969CE

    oklch(63.1% 0.159 311.9)

  7. Step 600

    600

    #944EBB

    oklch(55.6% 0.173 311.7)

  8. Step 700

    700

    #7E3EA1

    oklch(49% 0.16 311.7)

  9. Step 800

    800

    #673483

    oklch(42.8% 0.134 311.9)

  10. Step 900

    900

    #542E69

    oklch(37.7% 0.105 312.1)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA98E9 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)#8AA9EC0.095
Deuteranopia (no green cones)#95ADE70.088
Tritanopia (no blue cones)#C7A3B60.088
Achromatopsia (no color)#ABABAB0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA98E9

    #CA98E9

    oklch(75.6% 0.125 311.9)

  • #92C06A

    #92C06A

    oklch(75.5% 0.125 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA98E9

    #CA98E9

    oklch(75.6% 0.125 311.9)

  • #A3A5FD

    #A3A5FD

    oklch(75.5% 0.126 282)

  • #E58FC6

    #E58FC6

    oklch(75.5% 0.124 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA98E9

    #CA98E9

    oklch(75.6% 0.125 311.9)

  • #C0B24B

    #C0B24B

    oklch(75.5% 0.124 101.6)

  • #5AC897

    #5AC897

    oklch(75.5% 0.125 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA98E9

    #CA98E9

    oklch(75.6% 0.125 311.9)

  • #E0A24E

    #E0A24E

    oklch(75.6% 0.124 72.1)

  • #22C8C4

    #22C8C4

    oklch(75.5% 0.124 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA98E9

    #CA98E9

    oklch(75.6% 0.125 311.9)

  • #F2946F

    #F2946F

    oklch(75.6% 0.125 42.1)

  • #92C06A

    #92C06A

    oklch(75.5% 0.125 131.8)

  • #3AC1E8

    #3AC1E8

    oklch(75.6% 0.125 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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