#C2A7FE

Closest named color: Pastel Purple (#CAA0FF). oklch(78.4% 0.124 297.7), rgb(194, 167, 254).

Aa

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

About this color

#C2A7FE is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.124 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.020 away. Black text reads best on it, at 10.25:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text10.25:1
White text2.04:1

Values

HEX#C2A7FE
RGBrgb(194, 167, 254)
HSLhsl(259, 98%, 83%)
OKLCHoklch(78.4% 0.124 297.7)

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 #C2A7FE 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #C2A7FE 10.25:1 AAA Lc 64.1 Content text, not long reading
#C2A7FE text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#C2A7FE text on black 10.25:1 AAA Lc -62.5 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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DED1FF

    oklch(88.6% 0.064 298)

  4. Step 300

    300 (this color)

    #C2A7FE

    oklch(78.4% 0.124 297.7)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8D27FB

    oklch(55.6% 0.276 297.7)

  8. Step 700

    700

    #7812DB

    oklch(49.1% 0.257 297.6)

  9. Step 800

    800

    #6118B1

    oklch(42.7% 0.213 297.4)

  10. Step 900

    900

    #4F208C

    oklch(37.8% 0.166 297.6)

  11. Step 950

    950

    #2E1552

    oklch(27% 0.105 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#C2A7FE 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)#92B5FF0.069
Deuteranopia (no green cones)#96B4FC0.065
Tritanopia (no blue cones)#B6B5C70.099
Achromatopsia (no color)#B5B5B50.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A7FE

    #C2A7FE

    oklch(78.4% 0.124 297.7)

  • #B2C362

    #B2C362

    oklch(78.3% 0.124 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A7FE

    #C2A7FE

    oklch(78.4% 0.124 297.7)

  • #9AB6FF

    #9AB6FF

    oklch(78.3% 0.109 267.8)

  • #E39CE1

    #E39CE1

    oklch(78.4% 0.123 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #C2A7FE

    #C2A7FE

    oklch(78.4% 0.124 297.7)

  • #DAB451

    #DAB451

    oklch(78.5% 0.125 88.1)

  • #7FCE8A

    #7FCE8A

    oklch(78.3% 0.124 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A7FE

    #C2A7FE

    oklch(78.4% 0.124 297.7)

  • #F4A465

    #F4A465

    oklch(78.5% 0.124 57.9)

  • #48D2B8

    #48D2B8

    oklch(78.3% 0.124 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A7FE

    #C2A7FE

    oklch(78.4% 0.124 297.7)

  • #FE998C

    #FE998C

    oklch(78.4% 0.123 28)

  • #B2C362

    #B2C362

    oklch(78.3% 0.124 117.6)

  • #35CEE2

    #35CEE2

    oklch(78.3% 0.124 208.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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