#C5A2FB

Closest named color: Pastel Purple (#CAA0FF). oklch(77.6% 0.129 301.6), rgb(197, 162, 251).

Aa

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

About this color

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

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

Values

HEX#C5A2FB
RGBrgb(197, 162, 251)
HSLhsl(264, 92%, 81%)
OKLCHoklch(77.6% 0.129 301.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 #C5A2FB 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #C5A2FB 9.93:1 AAA Lc 62.6 Content text, not long reading
#C5A2FB text on white 2.11:1 Fails Lc 41.3 Non-text elements, placeholder text
#C5A2FB text on black 9.93:1 AAA Lc -60.9 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

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #C5A2FB

    oklch(77.6% 0.129 301.6)

  5. Step 400

    400

    #B680FF

    oklch(70.7% 0.184 301.5)

  6. Step 500

    500

    #A656FF

    oklch(63.1% 0.239 301.5)

  7. Step 600

    600

    #9613FA

    oklch(55.6% 0.286 301.6)

  8. Step 700

    700

    #7F00D7

    oklch(49.1% 0.26 301.5)

  9. Step 800

    800

    #6809B0

    oklch(42.7% 0.22 301.6)

  10. Step 900

    900

    #541A8B

    oklch(37.7% 0.171 301.6)

  11. Step 950

    950

    #311251

    oklch(26.9% 0.109 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#C5A2FB 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)#8DB2FE0.081
Deuteranopia (no green cones)#94B2F90.075
Tritanopia (no blue cones)#BCB0C30.100
Achromatopsia (no color)#B2B2B20.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5A2FB

    #C5A2FB

    oklch(77.6% 0.129 301.6)

  • #A9C360

    #A9C360

    oklch(77.6% 0.129 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5A2FB

    #C5A2FB

    oklch(77.6% 0.129 301.6)

  • #9CB2FF

    #9CB2FF

    oklch(77.7% 0.113 271.4)

  • #E697DB

    #E697DB

    oklch(77.7% 0.128 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #C5A2FB

    #C5A2FB

    oklch(77.6% 0.129 301.6)

  • #D4B349

    #D4B349

    oklch(77.6% 0.129 91.7)

  • #72CE8C

    #72CE8C

    oklch(77.7% 0.13 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5A2FB

    #C5A2FB

    oklch(77.6% 0.129 301.6)

  • #F1A25A

    #F1A25A

    oklch(77.6% 0.129 61.4)

  • #34D1BC

    #34D1BC

    oklch(77.7% 0.129 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5A2FB

    #C5A2FB

    oklch(77.6% 0.129 301.6)

  • #FD9682

    #FD9682

    oklch(77.6% 0.128 31.9)

  • #A9C360

    #A9C360

    oklch(77.6% 0.129 121.6)

  • #27CBE5

    #27CBE5

    oklch(77.5% 0.129 211.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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