#AFA2E3

Closest named color: Pale Purple (#B790D4). oklch(74.7% 0.093 293.2), rgb(175, 162, 227).

Aa

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

About this color

#AFA2E3 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.093 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.046 away. Black text reads best on it, at 9.10:1.

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

Values

HEX#AFA2E3
RGBrgb(175, 162, 227)
HSLhsl(252, 54%, 76%)
OKLCHoklch(74.7% 0.093 293.2)

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 #AFA2E3 2.30:1 Fails Lc -50.4 Large or bold text, headings
Black text on #AFA2E3 9.10:1 AAA Lc 58.5 Large or bold text, headings
#AFA2E3 text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#AFA2E3 text on black 9.10:1 AAA Lc -56.6 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

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6ED

    oklch(88.5% 0.031 291.7)

  4. Step 300

    300

    #C1BAE4

    oklch(80.8% 0.059 292.7)

  5. Step 400

    400 (this color)

    #AFA2E3

    oklch(74.7% 0.093 293.2)

  6. Step 500

    500

    #8D7ACB

    oklch(63.1% 0.12 293.4)

  7. Step 600

    600

    #7762B7

    oklch(55.5% 0.129 293.1)

  8. Step 700

    700

    #65519E

    oklch(49.2% 0.12 293.4)

  9. Step 800

    800

    #524380

    oklch(42.8% 0.099 293.1)

  10. Step 900

    900

    #443967

    oklch(37.8% 0.077 293.3)

  11. Step 950

    950

    #27213C

    oklch(26.8% 0.05 293)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2E3 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)#92ABE60.042
Deuteranopia (no green cones)#93AAE10.042
Tritanopia (no blue cones)#A4ADB90.078
Achromatopsia (no color)#ABABAB0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2E3

    #AFA2E3

    oklch(74.7% 0.093 293.2)

  • #ADB46D

    #ADB46D

    oklch(74.8% 0.094 113.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2E3

    #AFA2E3

    oklch(74.7% 0.093 293.2)

  • #8EADE9

    #8EADE9

    oklch(74.7% 0.094 263.2)

  • #CA99CF

    #CA99CF

    oklch(74.7% 0.093 323.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2E3

    #AFA2E3

    oklch(74.7% 0.093 293.2)

  • #CAA866

    #CAA866

    oklch(74.8% 0.093 83)

  • #8ABD86

    #8ABD86

    oklch(74.8% 0.094 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2E3

    #AFA2E3

    oklch(74.7% 0.093 293.2)

  • #DC9D75

    #DC9D75

    oklch(74.8% 0.093 53.2)

  • #69C0A7

    #69C0A7

    oklch(74.6% 0.093 173)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2E3

    #AFA2E3

    oklch(74.7% 0.093 293.2)

  • #E29591

    #E29591

    oklch(74.6% 0.094 22.8)

  • #ADB46D

    #ADB46D

    oklch(74.8% 0.094 113.3)

  • #5BBEC7

    #5BBEC7

    oklch(74.6% 0.093 203.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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