#C5A2FF

Closest named color: Pastel Purple (#CAA0FF). oklch(77.8% 0.134 300.7), rgb(197, 162, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.98:1
White text2.10:1

Values

HEX#C5A2FF
RGBrgb(197, 162, 255)
HSLhsl(263, 100%, 82%)
OKLCHoklch(77.8% 0.134 300.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 #C5A2FF 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #C5A2FF 9.98:1 AAA Lc 62.9 Content text, not long reading
#C5A2FF text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#C5A2FF text on black 9.98:1 AAA Lc -61.2 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FF

    oklch(93.6% 0.036 299.7)

  3. Step 200

    200

    #E0D0FF

    oklch(88.6% 0.066 300.6)

  4. Step 300

    300 (this color)

    #C5A2FF

    oklch(77.8% 0.134 300.7)

  5. Step 400

    400

    #B481FF

    oklch(70.7% 0.182 300.5)

  6. Step 500

    500

    #A457FF

    oklch(63.1% 0.238 300.8)

  7. Step 600

    600

    #9505FF

    oklch(55.6% 0.294 300.6)

  8. Step 700

    700

    #7E00D9

    oklch(49.1% 0.261 300.7)

  9. Step 800

    800

    #6700B4

    oklch(42.6% 0.227 300.4)

  10. Step 900

    900

    #54168F

    oklch(37.7% 0.179 300.7)

  11. Step 950

    950

    #311154

    oklch(27.1% 0.114 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#C5A2FF 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)#8CB2FF0.082
Deuteranopia (no green cones)#92B2FC0.077
Tritanopia (no blue cones)#BBB1C50.104
Achromatopsia (no color)#B3B3B30.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5A2FF

    #C5A2FF

    oklch(77.8% 0.134 300.7)

  • #ABC45B

    #ABC45B

    oklch(77.9% 0.135 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5A2FF

    #C5A2FF

    oklch(77.8% 0.134 300.7)

  • #9CB3FF

    #9CB3FF

    oklch(77.9% 0.112 270.7)

  • #E796DF

    #E796DF

    oklch(77.8% 0.134 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #C5A2FF

    #C5A2FF

    oklch(77.8% 0.134 300.7)

  • #D7B343

    #D7B343

    oklch(77.9% 0.134 90.9)

  • #71CF89

    #71CF89

    oklch(77.8% 0.135 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5A2FF

    #C5A2FF

    oklch(77.8% 0.134 300.7)

  • #F4A157

    #F4A157

    oklch(77.8% 0.133 60.5)

  • #28D2BB

    #28D2BB

    oklch(77.8% 0.134 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5A2FF

    #C5A2FF

    oklch(77.8% 0.134 300.7)

  • #FF9683

    #FF9683

    oklch(77.9% 0.13 31.2)

  • #ABC45B

    #ABC45B

    oklch(77.9% 0.135 120.7)

  • #0ACDE7

    #0ACDE7

    oklch(77.8% 0.134 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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