#C5A7DC

Closest named color: Plum (#DDA0DD). oklch(77.3% 0.081 310.1), rgb(197, 167, 220).

Aa

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

About this color

#C5A7DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.081 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.039 away. Black text reads best on it, at 9.93:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.93:1
White text2.11:1

Values

HEX#C5A7DC
RGBrgb(197, 167, 220)
HSLhsl(274, 43%, 76%)
OKLCHoklch(77.3% 0.081 310.1)

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 #C5A7DC 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #C5A7DC 9.93:1 AAA Lc 62.6 Content text, not long reading
#C5A7DC text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#C5A7DC 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E2D1F0

    oklch(88.4% 0.046 309.9)

  4. Step 300

    300 (this color)

    #C5A7DC

    oklch(77.3% 0.081 310.1)

  5. Step 400

    400

    #B989DC

    oklch(70.7% 0.128 310)

  6. Step 500

    500

    #A868D3

    oklch(63.1% 0.166 310.1)

  7. Step 600

    600

    #934DC0

    oklch(55.6% 0.179 309.9)

  8. Step 700

    700

    #7E3DA6

    oklch(49.2% 0.167 310.2)

  9. Step 800

    800

    #663386

    oklch(42.7% 0.138 310.2)

  10. Step 900

    900

    #532E6B

    oklch(37.7% 0.107 310.3)

  11. Step 950

    950

    #311B3F

    oklch(27% 0.069 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#C5A7DC 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)#9FB1DE0.056
Deuteranopia (no green cones)#A5B3DA0.053
Tritanopia (no blue cones)#C3AEB90.060
Achromatopsia (no color)#B2B2B20.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5A7DC

    #C5A7DC

    oklch(77.3% 0.081 310.1)

  • #A4C089

    #A4C089

    oklch(77.3% 0.081 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5A7DC

    #C5A7DC

    oklch(77.3% 0.081 310.1)

  • #AAB0E8

    #AAB0E8

    oklch(77.2% 0.08 279.6)

  • #D9A1C5

    #D9A1C5

    oklch(77.2% 0.081 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #C5A7DC

    #C5A7DC

    oklch(77.3% 0.081 310.1)

  • #C1B77A

    #C1B77A

    oklch(77.3% 0.081 100)

  • #87C5A4

    #87C5A4

    oklch(77.2% 0.08 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5A7DC

    #C5A7DC

    oklch(77.3% 0.081 310.1)

  • #D7AC7C

    #D7AC7C

    oklch(77.2% 0.081 69.2)

  • #74C6C0

    #74C6C0

    oklch(77.3% 0.081 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5A7DC

    #C5A7DC

    oklch(77.3% 0.081 310.1)

  • #E2A48E

    #E2A48E

    oklch(77.2% 0.08 40.4)

  • #A4C089

    #A4C089

    oklch(77.3% 0.081 130)

  • #77C1D9

    #77C1D9

    oklch(77.1% 0.081 220.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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