#C2A7FF

Closest named color: Pastel Purple (#CAA0FF). oklch(78.5% 0.125 297.5), rgb(194, 167, 255).

Aa

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

About this color

#C2A7FF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.125 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.26:1.

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

Values

HEX#C2A7FF
RGBrgb(194, 167, 255)
HSLhsl(258, 100%, 83%)
OKLCHoklch(78.5% 0.125 297.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 #C2A7FF 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #C2A7FF 10.26:1 AAA Lc 64.2 Content text, not long reading
#C2A7FF text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#C2A7FF text on black 10.26:1 AAA Lc -62.6 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

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300 (this color)

    #C2A7FF

    oklch(78.5% 0.125 297.5)

  5. Step 400

    400

    #AE84FF

    oklch(70.6% 0.177 297.4)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8D25FC

    oklch(55.6% 0.278 297.7)

  8. Step 700

    700

    #780EDC

    oklch(49.1% 0.259 297.5)

  9. Step 800

    800

    #6116B2

    oklch(42.7% 0.215 297.3)

  10. Step 900

    900

    #4F1F8C

    oklch(37.7% 0.167 297.7)

  11. Step 950

    950

    #2E1552

    oklch(27% 0.105 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#C2A7FF 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)#91B5FF0.070
Deuteranopia (no green cones)#96B4FD0.065
Tritanopia (no blue cones)#B6B6C70.102
Achromatopsia (no color)#B5B5B50.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A7FF

    #C2A7FF

    oklch(78.5% 0.125 297.5)

  • #B2C361

    #B2C361

    oklch(78.3% 0.125 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A7FF

    #C2A7FF

    oklch(78.5% 0.125 297.5)

  • #9AB7FF

    #9AB7FF

    oklch(78.5% 0.108 267.1)

  • #E49BE2

    #E49BE2

    oklch(78.4% 0.126 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #C2A7FF

    #C2A7FF

    oklch(78.5% 0.125 297.5)

  • #DBB450

    #DBB450

    oklch(78.6% 0.126 87.8)

  • #7FCF8A

    #7FCF8A

    oklch(78.5% 0.125 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A7FF

    #C2A7FF

    oklch(78.5% 0.125 297.5)

  • #F5A364

    #F5A364

    oklch(78.4% 0.126 57.1)

  • #46D3B8

    #46D3B8

    oklch(78.5% 0.126 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A7FF

    #C2A7FF

    oklch(78.5% 0.125 297.5)

  • #FF988C

    #FF988C

    oklch(78.4% 0.126 27.4)

  • #B2C361

    #B2C361

    oklch(78.3% 0.125 117.5)

  • #31CFE2

    #31CFE2

    oklch(78.5% 0.126 207.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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