#AFA5DB

Closest named color: Pale Purple (#B790D4). oklch(74.9% 0.077 292.9), rgb(175, 165, 219).

Aa

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

About this color

#AFA5DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.077 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.052 away. Black text reads best on it, at 9.22:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.22:1
White text2.27:1

Values

HEX#AFA5DB
RGBrgb(175, 165, 219)
HSLhsl(251, 43%, 75%)
OKLCHoklch(74.9% 0.077 292.9)

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 #AFA5DB 2.27:1 Fails Lc -49.7 Large or bold text, headings
Black text on #AFA5DB 9.22:1 AAA Lc 59.1 Large or bold text, headings
#AFA5DB text on white 2.27:1 Fails Lc 44.9 Non-text elements, placeholder text
#AFA5DB text on black 9.22:1 AAA Lc -57.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EA

    oklch(88.4% 0.027 292.7)

  4. Step 300

    300

    #C1BBDE

    oklch(80.8% 0.049 293.1)

  5. Step 400

    400 (this color)

    #AFA5DB

    oklch(74.9% 0.077 292.9)

  6. Step 500

    500

    #8C7EC0

    oklch(63.2% 0.098 293.1)

  7. Step 600

    600

    #7666AC

    oklch(55.5% 0.107 293.1)

  8. Step 700

    700

    #635594

    oklch(49.2% 0.099 292.6)

  9. Step 800

    800

    #514578

    oklch(42.6% 0.084 293.4)

  10. Step 900

    900

    #433B61

    oklch(37.8% 0.064 292.7)

  11. Step 950

    950

    #272339

    oklch(27.1% 0.041 291.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5DB 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)#98ADDD0.035
Deuteranopia (no green cones)#99ABD90.033
Tritanopia (no blue cones)#A6AEB80.065
Achromatopsia (no color)#ACACAC0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5DB

    #AFA5DB

    oklch(74.9% 0.077 292.9)

  • #AEB37A

    #AEB37A

    oklch(74.9% 0.077 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5DB

    #AFA5DB

    oklch(74.9% 0.077 292.9)

  • #94AEE0

    #94AEE0

    oklch(74.9% 0.078 263.2)

  • #C69ECB

    #C69ECB

    oklch(75% 0.077 322.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5DB

    #AFA5DB

    oklch(74.9% 0.077 292.9)

  • #C6AA74

    #C6AA74

    oklch(75% 0.078 83.3)

  • #91BB8E

    #91BB8E

    oklch(75% 0.078 143.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5DB

    #AFA5DB

    oklch(74.9% 0.077 292.9)

  • #D5A180

    #D5A180

    oklch(75% 0.077 53.6)

  • #78BEA9

    #78BEA9

    oklch(74.9% 0.077 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5DB

    #AFA5DB

    oklch(74.9% 0.077 292.9)

  • #DB9B97

    #DB9B97

    oklch(75% 0.077 23.1)

  • #AEB37A

    #AEB37A

    oklch(74.9% 0.077 112.3)

  • #6FBDC3

    #6FBDC3

    oklch(75% 0.077 202)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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