#AF9EE4

Closest named color: Pale Purple (#B790D4). oklch(74% 0.101 295), rgb(175, 158, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.83:1
White text2.37:1

Values

HEX#AF9EE4
RGBrgb(175, 158, 228)
HSLhsl(255, 56%, 76%)
OKLCHoklch(74% 0.101 295)

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 #AF9EE4 2.37:1 Fails Lc -51.8 Large or bold text, headings
Black text on #AF9EE4 8.83:1 AAA Lc 57.2 Large or bold text, headings
#AF9EE4 text on white 2.37:1 Fails Lc 46.8 Large or bold text, headings
#AF9EE4 text on black 8.83:1 AAA Lc -55.2 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C3B9E6

    oklch(80.9% 0.064 295.1)

  5. Step 400

    400 (this color)

    #AF9EE4

    oklch(74% 0.101 295)

  6. Step 500

    500

    #9078CF

    oklch(63.2% 0.129 295.1)

  7. Step 600

    600

    #7A5FBC

    oklch(55.5% 0.141 294.8)

  8. Step 700

    700

    #674EA2

    oklch(49.1% 0.131 294.8)

  9. Step 800

    800

    #544083

    oklch(42.6% 0.109 295.2)

  10. Step 900

    900

    #453769

    oklch(37.6% 0.084 294.9)

  11. Step 950

    950

    #28213E

    oklch(27.1% 0.053 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF9EE4 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)#8DA9E70.050
Deuteranopia (no green cones)#8FA7E20.048
Tritanopia (no blue cones)#A4A9B70.083
Achromatopsia (no color)#A8A8A80.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9EE4

    #AF9EE4

    oklch(74% 0.101 295)

  • #A9B266

    #A9B266

    oklch(73.9% 0.1 114.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9EE4

    #AF9EE4

    oklch(74% 0.101 295)

  • #8BAAEB

    #8BAAEB

    oklch(74% 0.101 264.5)

  • #CB95CE

    #CB95CE

    oklch(74% 0.1 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF9EE4

    #AF9EE4

    oklch(74% 0.101 295)

  • #C8A65C

    #C8A65C

    oklch(74% 0.101 85.2)

  • #82BC83

    #82BC83

    oklch(74% 0.101 144.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9EE4

    #AF9EE4

    oklch(74% 0.101 295)

  • #DC996C

    #DC996C

    oklch(73.9% 0.101 54.4)

  • #5CC0A7

    #5CC0A7

    oklch(74.1% 0.102 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9EE4

    #AF9EE4

    oklch(74% 0.101 295)

  • #E4918A

    #E4918A

    oklch(74% 0.102 25.1)

  • #A9B266

    #A9B266

    oklch(73.9% 0.1 114.4)

  • #4EBDC9

    #4EBDC9

    oklch(74% 0.101 205.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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