#CA98DF

Closest named color: Baby Purple (#CA9BF7). oklch(75.1% 0.113 315.6), rgb(202, 152, 223).

Aa

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

About this color

#CA98DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.113 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.06:1.

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

Values

HEX#CA98DF
RGBrgb(202, 152, 223)
HSLhsl(282, 53%, 74%)
OKLCHoklch(75.1% 0.113 315.6)

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 #CA98DF 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #CA98DF 9.06:1 AAA Lc 58.4 Large or bold text, headings
#CA98DF text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#CA98DF text on black 9.06:1 AAA Lc -56.5 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

    #E3D2EB

    oklch(88.5% 0.038 315.1)

  4. Step 300

    300

    #D3B3E0

    oklch(80.9% 0.071 316.1)

  5. Step 400

    400 (this color)

    #CA98DF

    oklch(75.1% 0.113 315.6)

  6. Step 500

    500

    #AB6BC4

    oklch(63.1% 0.145 315.9)

  7. Step 600

    600

    #9651B0

    oklch(55.6% 0.157 316)

  8. Step 700

    700

    #804198

    oklch(49.1% 0.147 315.8)

  9. Step 800

    800

    #68367B

    oklch(42.7% 0.121 315.9)

  10. Step 900

    900

    #543063

    oklch(37.7% 0.094 315.2)

  11. Step 950

    950

    #311C3A

    oklch(26.8% 0.06 315.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA98DF 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)#8EA7E20.089
Deuteranopia (no green cones)#99ACDD0.083
Tritanopia (no blue cones)#C9A1B20.077
Achromatopsia (no color)#AAAAAA0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA98DF

    #CA98DF

    oklch(75.1% 0.113 315.6)

  • #8EBF75

    #8EBF75

    oklch(75.2% 0.114 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA98DF

    #CA98DF

    oklch(75.1% 0.113 315.6)

  • #A8A4F3

    #A8A4F3

    oklch(75.2% 0.113 285.7)

  • #E291BE

    #E291BE

    oklch(75.2% 0.112 345.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA98DF

    #CA98DF

    oklch(75.1% 0.113 315.6)

  • #B8B358

    #B8B358

    oklch(75.2% 0.114 106)

  • #5FC59D

    #5FC59D

    oklch(75.1% 0.113 165.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA98DF

    #CA98DF

    oklch(75.1% 0.113 315.6)

  • #D8A457

    #D8A457

    oklch(75.2% 0.113 75.3)

  • #3DC4C5

    #3DC4C5

    oklch(75% 0.113 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA98DF

    #CA98DF

    oklch(75.1% 0.113 315.6)

  • #EA9770

    #EA9770

    oklch(75.2% 0.113 45.7)

  • #8EBF75

    #8EBF75

    oklch(75.2% 0.114 135.6)

  • #51BDE5

    #51BDE5

    oklch(75.2% 0.113 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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