#AFA3E8

Closest named color: Pale Purple (#B790D4). oklch(75.1% 0.099 291.8), rgb(175, 163, 232).

Aa

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

About this color

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

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

Values

HEX#AFA3E8
RGBrgb(175, 163, 232)
HSLhsl(250, 60%, 77%)
OKLCHoklch(75.1% 0.099 291.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 #AFA3E8 2.27:1 Fails Lc -49.7 Large or bold text, headings
Black text on #AFA3E8 9.22:1 AAA Lc 59.1 Large or bold text, headings
#AFA3E8 text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#AFA3E8 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EF

    oklch(88.6% 0.034 291.2)

  4. Step 300

    300

    #C1BAE6

    oklch(80.9% 0.062 292.3)

  5. Step 400

    400 (this color)

    #AFA3E8

    oklch(75.1% 0.099 291.8)

  6. Step 500

    500

    #8B7ACF

    oklch(63.1% 0.126 291.6)

  7. Step 600

    600

    #7661BC

    oklch(55.5% 0.138 291.9)

  8. Step 700

    700

    #6350A2

    oklch(49% 0.128 291.7)

  9. Step 800

    800

    #514283

    oklch(42.7% 0.105 292)

  10. Step 900

    900

    #433869

    oklch(37.6% 0.082 292.3)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3E8 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)#92ADEB0.043
Deuteranopia (no green cones)#92ABE60.043
Tritanopia (no blue cones)#A3AFBC0.083
Achromatopsia (no color)#ACACAC0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA3E8

    #AFA3E8

    oklch(75.1% 0.099 291.8)

  • #B0B569

    #B0B569

    oklch(75.2% 0.099 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA3E8

    #AFA3E8

    oklch(75.1% 0.099 291.8)

  • #8CAFED

    #8CAFED

    oklch(75.2% 0.098 261.5)

  • #CC99D4

    #CC99D4

    oklch(75.1% 0.1 321.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA3E8

    #AFA3E8

    oklch(75.1% 0.099 291.8)

  • #CEA862

    #CEA862

    oklch(75.1% 0.099 81.6)

  • #8ABE84

    #8ABE84

    oklch(75% 0.098 142)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA3E8

    #AFA3E8

    oklch(75.1% 0.099 291.8)

  • #E09C73

    #E09C73

    oklch(75% 0.099 51.8)

  • #66C3A7

    #66C3A7

    oklch(75.2% 0.099 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA3E8

    #AFA3E8

    oklch(75.1% 0.099 291.8)

  • #E69592

    #E69592

    oklch(75.1% 0.098 22)

  • #B0B569

    #B0B569

    oklch(75.2% 0.099 111.8)

  • #55C1C9

    #55C1C9

    oklch(75.1% 0.099 201.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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