#CA98F4

Closest named color: Baby Purple (#CA9BF7). oklch(76% 0.138 308.4), rgb(202, 152, 244).

Aa

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

About this color

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

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

Values

HEX#CA98F4
RGBrgb(202, 152, 244)
HSLhsl(273, 81%, 78%)
OKLCHoklch(76% 0.138 308.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 #CA98F4 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #CA98F4 9.30:1 AAA Lc 59.6 Large or bold text, headings
#CA98F4 text on white 2.25:1 Fails Lc 44.3 Non-text elements, placeholder text
#CA98F4 text on black 9.30:1 AAA Lc -57.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 300.

  1. Step 50

    50

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E7CDFF

    oklch(88.6% 0.073 308.4)

  4. Step 300

    300 (this color)

    #CA98F4

    oklch(76% 0.138 308.4)

  5. Step 400

    400

    #C476FF

    oklch(70.6% 0.203 308.4)

  6. Step 500

    500

    #B644FF

    oklch(63% 0.263 308.3)

  7. Step 600

    600

    #A200ED

    oklch(55.6% 0.283 308.4)

  8. Step 700

    700

    #8900C9

    oklch(49.1% 0.25 308.5)

  9. Step 800

    800

    #7100A7

    oklch(42.8% 0.218 308.4)

  10. Step 900

    900

    #5D0A89

    oklch(37.6% 0.184 308.5)

  11. Step 950

    950

    #360D50

    oklch(26.9% 0.115 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA98F4 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)#85AAF70.100
Deuteranopia (no green cones)#90ADF10.093
Tritanopia (no blue cones)#C5A6BB0.100
Achromatopsia (no color)#ADADAD0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA98F4

    #CA98F4

    oklch(76% 0.138 308.4)

  • #97C25D

    #97C25D

    oklch(76.1% 0.139 128.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA98F4

    #CA98F4

    oklch(76% 0.138 308.4)

  • #9FA9FF

    #9FA9FF

    oklch(76.1% 0.124 278)

  • #E98DCF

    #E98DCF

    oklch(76% 0.138 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #CA98F4

    #CA98F4

    oklch(76% 0.138 308.4)

  • #C8B239

    #C8B239

    oklch(76.1% 0.138 98.6)

  • #56CB90

    #56CB90

    oklch(76% 0.137 158.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA98F4

    #CA98F4

    oklch(76% 0.138 308.4)

  • #EA9F43

    #EA9F43

    oklch(76% 0.138 68.2)

  • #00CCC1

    #00CCC1

    oklch(76.2% 0.132 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA98F4

    #CA98F4

    oklch(76% 0.138 308.4)

  • #FB906E

    #FB906E

    oklch(76% 0.138 38.4)

  • #97C25D

    #97C25D

    oklch(76.1% 0.139 128.4)

  • #00C5EB

    #00C5EB

    oklch(76% 0.137 218.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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