#CA98E4

Closest named color: Baby Purple (#CA9BF7). oklch(75.3% 0.119 313.7), rgb(202, 152, 228).

Aa

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

About this color

#CA98E4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.119 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.027 away. Black text reads best on it, at 9.12:1.

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

Values

HEX#CA98E4
RGBrgb(202, 152, 228)
HSLhsl(279, 58%, 75%)
OKLCHoklch(75.3% 0.119 313.7)

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 #CA98E4 2.30:1 Fails Lc -50.2 Large or bold text, headings
Black text on #CA98E4 9.12:1 AAA Lc 58.7 Large or bold text, headings
#CA98E4 text on white 2.30:1 Fails Lc 45.3 Large or bold text, headings
#CA98E4 text on black 9.12:1 AAA Lc -56.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D2ED

    oklch(88.6% 0.041 313.2)

  4. Step 300

    300

    #D2B3E3

    oklch(80.9% 0.074 313.5)

  5. Step 400

    400 (this color)

    #CA98E4

    oklch(75.3% 0.119 313.7)

  6. Step 500

    500

    #AA6AC9

    oklch(63.1% 0.152 313.8)

  7. Step 600

    600

    #9550B6

    oklch(55.7% 0.164 313.5)

  8. Step 700

    700

    #7F409C

    oklch(49.1% 0.152 313.8)

  9. Step 800

    800

    #67357F

    oklch(42.6% 0.127 313.5)

  10. Step 900

    900

    #542F66

    oklch(37.7% 0.099 313.6)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA98E4 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)#8CA8E70.092
Deuteranopia (no green cones)#97ACE20.085
Tritanopia (no blue cones)#C8A2B40.082
Achromatopsia (no color)#ABABAB0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA98E4

    #CA98E4

    oklch(75.3% 0.119 313.7)

  • #90BF70

    #90BF70

    oklch(75.2% 0.118 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA98E4

    #CA98E4

    oklch(75.3% 0.119 313.7)

  • #A5A4F8

    #A5A4F8

    oklch(75.2% 0.12 283.7)

  • #E490C2

    #E490C2

    oklch(75.4% 0.119 343.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA98E4

    #CA98E4

    oklch(75.3% 0.119 313.7)

  • #BCB252

    #BCB252

    oklch(75.3% 0.118 103.4)

  • #5DC79A

    #5DC79A

    oklch(75.5% 0.119 163.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA98E4

    #CA98E4

    oklch(75.3% 0.119 313.7)

  • #DCA352

    #DCA352

    oklch(75.4% 0.119 73.8)

  • #32C6C4

    #32C6C4

    oklch(75.3% 0.119 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA98E4

    #CA98E4

    oklch(75.3% 0.119 313.7)

  • #EE9570

    #EE9570

    oklch(75.3% 0.119 43.2)

  • #90BF70

    #90BF70

    oklch(75.2% 0.118 133.6)

  • #47BFE6

    #47BFE6

    oklch(75.4% 0.118 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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