#C5A7EA

Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.099 304.7), rgb(197, 167, 234).

Aa

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

About this color

#C5A7EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.099 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.030 away. Black text reads best on it, at 10.08:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.08:1
White text2.08:1

Values

HEX#C5A7EA
RGBrgb(197, 167, 234)
HSLhsl(267, 61%, 79%)
OKLCHoklch(77.8% 0.099 304.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 #C5A7EA 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #C5A7EA 10.08:1 AAA Lc 63.3 Content text, not long reading
#C5A7EA text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#C5A7EA text on black 10.08:1 AAA Lc -61.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FA

    oklch(93.5% 0.03 305.1)

  3. Step 200

    200

    #E1D1F7

    oklch(88.6% 0.054 304.4)

  4. Step 300

    300 (this color)

    #C5A7EA

    oklch(77.8% 0.099 304.7)

  5. Step 400

    400

    #B784EF

    oklch(70.6% 0.159 304.7)

  6. Step 500

    500

    #A661E9

    oklch(63.1% 0.201 304.7)

  7. Step 600

    600

    #9241D7

    oklch(55.6% 0.219 304.9)

  8. Step 700

    700

    #7C31BB

    oklch(49.1% 0.204 304.5)

  9. Step 800

    800

    #652B97

    oklch(42.7% 0.169 304.7)

  10. Step 900

    900

    #522978

    oklch(37.7% 0.131 304.8)

  11. Step 950

    950

    #301946

    oklch(27% 0.083 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#C5A7EA 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)#9AB3ED0.063
Deuteranopia (no green cones)#A0B4E80.059
Tritanopia (no blue cones)#C0B1BF0.076
Achromatopsia (no color)#B4B4B40.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5A7EA

    #C5A7EA

    oklch(77.8% 0.099 304.7)

  • #A9C27B

    #A9C27B

    oklch(77.8% 0.099 124.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5A7EA

    #C5A7EA

    oklch(77.8% 0.099 304.7)

  • #A4B2F6

    #A4B2F6

    oklch(77.8% 0.099 274.9)

  • #DE9FD0

    #DE9FD0

    oklch(77.8% 0.098 334.7)

Open the analogous palette in the generator

Split complementary

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

  • #C5A7EA

    #C5A7EA

    oklch(77.8% 0.099 304.7)

  • #CBB66B

    #CBB66B

    oklch(77.8% 0.098 94.2)

  • #82CA9B

    #82CA9B

    oklch(77.9% 0.099 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5A7EA

    #C5A7EA

    oklch(77.8% 0.099 304.7)

  • #E3AA72

    #E3AA72

    oklch(77.9% 0.099 65)

  • #64CBBF

    #64CBBF

    oklch(77.7% 0.098 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5A7EA

    #C5A7EA

    oklch(77.8% 0.099 304.7)

  • #EFA08C

    #EFA08C

    oklch(77.9% 0.099 34.8)

  • #A9C27B

    #A9C27B

    oklch(77.8% 0.099 124.4)

  • #63C7DE

    #63C7DE

    oklch(77.8% 0.099 214.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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