#AF9AEB

Closest named color: Pale Purple (#B790D4). oklch(73.5% 0.117 295.3), rgb(175, 154, 235).

Aa

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

About this color

#AF9AEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.117 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.037 away. Black text reads best on it, at 8.64:1.

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

Values

HEX#AF9AEB
RGBrgb(175, 154, 235)
HSLhsl(256, 67%, 76%)
OKLCHoklch(73.5% 0.117 295.3)

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 #AF9AEB 2.42:1 Fails Lc -52.8 Large or bold text, headings
Black text on #AF9AEB 8.64:1 AAA Lc 56.2 Large or bold text, headings
#AF9AEB text on white 2.42:1 Fails Lc 47.8 Large or bold text, headings
#AF9AEB text on black 8.64:1 AAA Lc -54.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DBD4F2

    oklch(88.5% 0.041 296.2)

  4. Step 300

    300

    #C4B8EB

    oklch(81% 0.072 295.5)

  5. Step 400

    400 (this color)

    #AF9AEB

    oklch(73.5% 0.117 295.3)

  6. Step 500

    500

    #9174D9

    oklch(63.1% 0.149 295)

  7. Step 600

    600

    #7D5AC6

    oklch(55.6% 0.162 295.6)

  8. Step 700

    700

    #6949AB

    oklch(49% 0.151 295.3)

  9. Step 800

    800

    #563D8B

    oklch(42.8% 0.125 295.4)

  10. Step 900

    900

    #46356F

    oklch(37.7% 0.097 294.8)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF9AEB 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)#85A7EE0.061
Deuteranopia (no green cones)#88A5E90.058
Tritanopia (no blue cones)#A3A8B80.095
Achromatopsia (no color)#A6A6A60.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9AEB

    #AF9AEB

    oklch(73.5% 0.117 295.3)

  • #A7B257

    #A7B257

    oklch(73.5% 0.117 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9AEB

    #AF9AEB

    oklch(73.5% 0.117 295.3)

  • #86A7F3

    #86A7F3

    oklch(73.4% 0.117 265.7)

  • #CF8FD2

    #CF8FD2

    oklch(73.6% 0.117 325.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF9AEB

    #AF9AEB

    oklch(73.5% 0.117 295.3)

  • #CBA34A

    #CBA34A

    oklch(73.5% 0.117 84.8)

  • #78BD7B

    #78BD7B

    oklch(73.5% 0.117 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9AEB

    #AF9AEB

    oklch(73.5% 0.117 295.3)

  • #E2955E

    #E2955E

    oklch(73.6% 0.117 55.3)

  • #45C1A6

    #45C1A6

    oklch(73.5% 0.116 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9AEB

    #AF9AEB

    oklch(73.5% 0.117 295.3)

  • #EA8B83

    #EA8B83

    oklch(73.5% 0.117 25.4)

  • #A7B257

    #A7B257

    oklch(73.5% 0.117 115)

  • #2DBECD

    #2DBECD

    oklch(73.6% 0.117 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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