#AFA6E4

Closest named color: Pale Purple (#B790D4). oklch(75.5% 0.089 290.8), rgb(175, 166, 228).

Aa

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

About this color

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

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

Values

HEX#AFA6E4
RGBrgb(175, 166, 228)
HSLhsl(249, 53%, 77%)
OKLCHoklch(75.5% 0.089 290.8)

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 #AFA6E4 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #AFA6E4 9.39:1 AAA Lc 60.0 Large or bold text, headings
#AFA6E4 text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#AFA6E4 text on black 9.39:1 AAA Lc -58.1 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #C0BBE2

    oklch(80.9% 0.055 291)

  5. Step 400

    400 (this color)

    #AFA6E4

    oklch(75.5% 0.089 290.8)

  6. Step 500

    500

    #8A7CC9

    oklch(63.1% 0.114 291.1)

  7. Step 600

    600

    #7464B5

    oklch(55.5% 0.123 290.9)

  8. Step 700

    700

    #62539C

    oklch(49.1% 0.114 291)

  9. Step 800

    800

    #50447F

    oklch(42.7% 0.096 291.1)

  10. Step 900

    900

    #423A66

    oklch(37.8% 0.074 290.8)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6E4 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)#97AEE70.036
Deuteranopia (no green cones)#97ACE20.035
Tritanopia (no blue cones)#A4B0BC0.074
Achromatopsia (no color)#ADADAD0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6E4

    #AFA6E4

    oklch(75.5% 0.089 290.8)

  • #B2B572

    #B2B572

    oklch(75.5% 0.089 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6E4

    #AFA6E4

    oklch(75.5% 0.089 290.8)

  • #90B0E8

    #90B0E8

    oklch(75.4% 0.089 261.4)

  • #C99DD2

    #C99DD2

    oklch(75.4% 0.089 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6E4

    #AFA6E4

    oklch(75.5% 0.089 290.8)

  • #CDAA6D

    #CDAA6D

    oklch(75.6% 0.089 80.7)

  • #91BE89

    #91BE89

    oklch(75.5% 0.088 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6E4

    #AFA6E4

    oklch(75.5% 0.089 290.8)

  • #DD9F7C

    #DD9F7C

    oklch(75.4% 0.088 50.4)

  • #72C2A8

    #72C2A8

    oklch(75.5% 0.088 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6E4

    #AFA6E4

    oklch(75.5% 0.089 290.8)

  • #E29997

    #E29997

    oklch(75.4% 0.088 21.1)

  • #B2B572

    #B2B572

    oklch(75.5% 0.089 110.5)

  • #64C1C6

    #64C1C6

    oklch(75.6% 0.089 200.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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