#CA9DFE

Closest named color: Pastel Purple (#CAA0FF). oklch(77.4% 0.142 304.6), rgb(202, 157, 254).

Aa

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

About this color

#CA9DFE is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.142 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.007 away. Black text reads best on it, at 9.76:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.142)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.76:1
White text2.15:1

Values

HEX#CA9DFE
RGBrgb(202, 157, 254)
HSLhsl(268, 98%, 81%)
OKLCHoklch(77.4% 0.142 304.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 #CA9DFE 2.15:1 Fails Lc -46.8 Large or bold text, headings
Black text on #CA9DFE 9.76:1 AAA Lc 61.8 Content text, not long reading
#CA9DFE text on white 2.15:1 Fails Lc 42.1 Non-text elements, placeholder text
#CA9DFE text on black 9.76:1 AAA Lc -60.1 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  3. Step 200

    200

    #E3CEFF

    oklch(88.4% 0.07 304.5)

  4. Step 300

    300 (this color)

    #CA9DFE

    oklch(77.4% 0.142 304.6)

  5. Step 400

    400

    #BC7CFF

    oklch(70.7% 0.191 304.5)

  6. Step 500

    500

    #AD4FFF

    oklch(63.1% 0.249 304.6)

  7. Step 600

    600

    #9C00F6

    oklch(55.5% 0.289 304.6)

  8. Step 700

    700

    #8400D1

    oklch(49.2% 0.256 304.7)

  9. Step 800

    800

    #6C00AD

    oklch(42.6% 0.222 304.5)

  10. Step 900

    900

    #5A098F

    oklch(37.7% 0.189 304.9)

  11. Step 950

    950

    #340C54

    oklch(26.9% 0.12 304.3)

Export this scale for Tailwind in the Tailwind colors tool

#CA9DFE 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)#87AFFF0.096
Deuteranopia (no green cones)#91B1FB0.089
Tritanopia (no blue cones)#C2ACC20.106
Achromatopsia (no color)#B1B1B10.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA9DFE

    #CA9DFE

    oklch(77.4% 0.142 304.6)

  • #A1C558

    #A1C558

    oklch(77.4% 0.143 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA9DFE

    #CA9DFE

    oklch(77.4% 0.142 304.6)

  • #9FAFFF

    #9FAFFF

    oklch(77.3% 0.116 274.7)

  • #EC91DA

    #EC91DA

    oklch(77.4% 0.142 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #CA9DFE

    #CA9DFE

    oklch(77.4% 0.142 304.6)

  • #D2B335

    #D2B335

    oklch(77.3% 0.142 94.6)

  • #60D08C

    #60D08C

    oklch(77.5% 0.142 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA9DFE

    #CA9DFE

    oklch(77.4% 0.142 304.6)

  • #F3A047

    #F3A047

    oklch(77.3% 0.142 64.5)

  • #00D1C0

    #00D1C0

    oklch(77.4% 0.137 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA9DFE

    #CA9DFE

    oklch(77.4% 0.142 304.6)

  • #FF947A

    #FF947A

    oklch(77.4% 0.135 34.6)

  • #A1C558

    #A1C558

    oklch(77.4% 0.143 124.9)

  • #00CBEB

    #00CBEB

    oklch(77.5% 0.136 214.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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