#CA98F6

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.14 307.8), rgb(202, 152, 246).

Aa

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

About this color

#CA98F6 is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.140 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.007 away. Black text reads best on it, at 9.33:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.140)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.33:1
White text2.24:1

Values

HEX#CA98F6
RGBrgb(202, 152, 246)
HSLhsl(272, 84%, 78%)
OKLCHoklch(76.1% 0.14 307.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 #CA98F6 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #CA98F6 9.33:1 AAA Lc 59.7 Large or bold text, headings
#CA98F6 text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#CA98F6 text on black 9.33:1 AAA Lc -57.9 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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #CA98F6

    oklch(76.1% 0.14 307.8)

  5. Step 400

    400

    #C377FF

    oklch(70.7% 0.201 307.9)

  6. Step 500

    500

    #B546FF

    oklch(63.1% 0.261 307.8)

  7. Step 600

    600

    #A100EF

    oklch(55.6% 0.285 307.6)

  8. Step 700

    700

    #8800CA

    oklch(49.1% 0.251 307.8)

  9. Step 800

    800

    #7000A8

    oklch(42.7% 0.219 307.7)

  10. Step 900

    900

    #5D078B

    oklch(37.7% 0.187 307.9)

  11. Step 950

    950

    #360C51

    oklch(26.9% 0.118 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA98F6 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)#84ABFA0.102
Deuteranopia (no green cones)#90ADF30.093
Tritanopia (no blue cones)#C4A6BC0.102
Achromatopsia (no color)#ADADAD0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA98F6

    #CA98F6

    oklch(76.1% 0.14 307.8)

  • #98C25B

    #98C25B

    oklch(76.1% 0.14 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA98F6

    #CA98F6

    oklch(76.1% 0.14 307.8)

  • #9FA9FF

    #9FA9FF

    oklch(76.1% 0.124 278)

  • #EA8DD1

    #EA8DD1

    oklch(76.2% 0.14 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #CA98F6

    #CA98F6

    oklch(76.1% 0.14 307.8)

  • #CAB135

    #CAB135

    oklch(76.1% 0.14 97.3)

  • #55CC8E

    #55CC8E

    oklch(76.1% 0.141 157.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA98F6

    #CA98F6

    oklch(76.1% 0.14 307.8)

  • #EC9F41

    #EC9F41

    oklch(76.2% 0.14 67.8)

  • #00CCC1

    #00CCC1

    oklch(76.2% 0.132 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA98F6

    #CA98F6

    oklch(76.1% 0.14 307.8)

  • #FC8F6E

    #FC8F6E

    oklch(76% 0.14 37.6)

  • #98C25B

    #98C25B

    oklch(76.1% 0.14 127.8)

  • #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 #CA98F6, closest first.

Similar named colors

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

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