#CA9FF2

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.124 307.5), rgb(202, 159, 242).

Aa

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

About this color

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

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

Values

HEX#CA9FF2
RGBrgb(202, 159, 242)
HSLhsl(271, 76%, 79%)
OKLCHoklch(77.2% 0.124 307.5)

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 #CA9FF2 2.15:1 Fails Lc -46.9 Large or bold text, headings
Black text on #CA9FF2 9.75:1 AAA Lc 61.7 Content text, not long reading
#CA9FF2 text on white 2.15:1 Fails Lc 42.2 Non-text elements, placeholder text
#CA9FF2 text on black 9.75:1 AAA Lc -60.0 Content text, not long reading

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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FD

    oklch(93.6% 0.036 307.2)

  3. Step 200

    200

    #E5CEFD

    oklch(88.5% 0.068 307.2)

  4. Step 300

    300 (this color)

    #CA9FF2

    oklch(77.2% 0.124 307.5)

  5. Step 400

    400

    #C278FE

    oklch(70.7% 0.198 307.6)

  6. Step 500

    500

    #B34AFC

    oklch(63.1% 0.253 307.5)

  7. Step 600

    600

    #9F16EB

    oklch(55.6% 0.275 307.5)

  8. Step 700

    700

    #8800CB

    oklch(49.2% 0.252 307.6)

  9. Step 800

    800

    #6F0BA5

    oklch(42.7% 0.212 307.8)

  10. Step 900

    900

    #591A83

    oklch(37.7% 0.164 307.3)

  11. Step 950

    950

    #34124D

    oklch(27% 0.105 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA9FF2 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)#8FAFF50.086
Deuteranopia (no green cones)#98B1F00.080
Tritanopia (no blue cones)#C5ABBE0.091
Achromatopsia (no color)#B1B1B10.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA9FF2

    #CA9FF2

    oklch(77.2% 0.124 307.5)

  • #9FC46A

    #9FC46A

    oklch(77.3% 0.125 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA9FF2

    #CA9FF2

    oklch(77.2% 0.124 307.5)

  • #A2ADFF

    #A2ADFF

    oklch(77.1% 0.118 277.4)

  • #E795D1

    #E795D1

    oklch(77.1% 0.124 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #CA9FF2

    #CA9FF2

    oklch(77.2% 0.124 307.5)

  • #CAB54F

    #CAB54F

    oklch(77.1% 0.124 97.7)

  • #69CC95

    #69CC95

    oklch(77% 0.124 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA9FF2

    #CA9FF2

    oklch(77.2% 0.124 307.5)

  • #E9A557

    #E9A557

    oklch(77.2% 0.124 67.9)

  • #34CEC3

    #34CEC3

    oklch(77.2% 0.124 187.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA9FF2

    #CA9FF2

    oklch(77.2% 0.124 307.5)

  • #F8987B

    #F8987B

    oklch(77.2% 0.123 37.6)

  • #9FC46A

    #9FC46A

    oklch(77.3% 0.125 127.4)

  • #3BC7E8

    #3BC7E8

    oklch(77% 0.124 217.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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