#AFA3EA

Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.101 291.5), rgb(175, 163, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.24:1
White text2.27:1

Values

HEX#AFA3EA
RGBrgb(175, 163, 234)
HSLhsl(250, 63%, 78%)
OKLCHoklch(75.2% 0.101 291.5)

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 #AFA3EA 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #AFA3EA 9.24:1 AAA Lc 59.2 Large or bold text, headings
#AFA3EA text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#AFA3EA text on black 9.24:1 AAA Lc -57.4 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5EF

    oklch(88.4% 0.036 292.7)

  4. Step 300

    300

    #C0BAE7

    oklch(80.9% 0.063 291)

  5. Step 400

    400 (this color)

    #AFA3EA

    oklch(75.2% 0.101 291.5)

  6. Step 500

    500

    #8B79D1

    oklch(63% 0.13 291.6)

  7. Step 600

    600

    #7661BE

    oklch(55.7% 0.14 291.6)

  8. Step 700

    700

    #6350A4

    oklch(49.2% 0.13 291.3)

  9. Step 800

    800

    #514285

    oklch(42.8% 0.108 291.5)

  10. Step 900

    900

    #43386A

    oklch(37.7% 0.084 292)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3EA 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)#91ADED0.044
Deuteranopia (no green cones)#91ABE80.044
Tritanopia (no blue cones)#A2AFBC0.086
Achromatopsia (no color)#ACACAC0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA3EA

    #AFA3EA

    oklch(75.2% 0.101 291.5)

  • #B0B567

    #B0B567

    oklch(75.2% 0.101 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA3EA

    #AFA3EA

    oklch(75.2% 0.101 291.5)

  • #8BAFEF

    #8BAFEF

    oklch(75.2% 0.101 261.6)

  • #CD99D5

    #CD99D5

    oklch(75.2% 0.102 321.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA3EA

    #AFA3EA

    oklch(75.2% 0.101 291.5)

  • #CFA860

    #CFA860

    oklch(75.2% 0.102 81.5)

  • #8ABF82

    #8ABF82

    oklch(75.2% 0.102 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA3EA

    #AFA3EA

    oklch(75.2% 0.101 291.5)

  • #E29C72

    #E29C72

    oklch(75.2% 0.101 51.6)

  • #63C4A7

    #63C4A7

    oklch(75.3% 0.102 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA3EA

    #AFA3EA

    oklch(75.2% 0.101 291.5)

  • #E89492

    #E89492

    oklch(75.1% 0.102 21.2)

  • #B0B567

    #B0B567

    oklch(75.2% 0.101 111.8)

  • #51C2C9

    #51C2C9

    oklch(75.2% 0.102 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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