#AF8BE0

Closest named color: Pale Purple (#B790D4). oklch(70.3% 0.126 302.8), rgb(175, 139, 224).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.59:1
White text2.76:1

Values

HEX#AF8BE0
RGBrgb(175, 139, 224)
HSLhsl(265, 58%, 71%)
OKLCHoklch(70.3% 0.126 302.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 #AF8BE0 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #AF8BE0 7.59:1 AAA Lc 50.7 Large or bold text, headings
#AF8BE0 text on white 2.76:1 Fails Lc 53.3 Large or bold text, headings
#AF8BE0 text on black 7.59:1 AAA Lc -48.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CAB5EB

    oklch(80.9% 0.078 302.4)

  5. Step 400

    400 (this color)

    #AF8BE0

    oklch(70.3% 0.126 302.8)

  6. Step 500

    500

    #9D6DD9

    oklch(63% 0.162 302.5)

  7. Step 600

    600

    #8952C6

    oklch(55.6% 0.176 303)

  8. Step 700

    700

    #7442AB

    oklch(49.1% 0.163 302.8)

  9. Step 800

    800

    #5E378B

    oklch(42.7% 0.136 302.4)

  10. Step 900

    900

    #4D316F

    oklch(37.8% 0.105 302.5)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF8BE0 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)#779BE30.082
Deuteranopia (no green cones)#7E9BDE0.076
Tritanopia (no blue cones)#A799AB0.098
Achromatopsia (no color)#9B9B9B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8BE0

    #AF8BE0

    oklch(70.3% 0.126 302.8)

  • #91AC4C

    #91AC4C

    oklch(70.3% 0.127 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8BE0

    #AF8BE0

    oklch(70.3% 0.126 302.8)

  • #8599EE

    #8599EE

    oklch(70.3% 0.127 272.7)

  • #CE80C1

    #CE80C1

    oklch(70.3% 0.127 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF8BE0

    #AF8BE0

    oklch(70.3% 0.126 302.8)

  • #BB9D31

    #BB9D31

    oklch(70.4% 0.127 92.9)

  • #5AB679

    #5AB679

    oklch(70.4% 0.126 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8BE0

    #AF8BE0

    oklch(70.3% 0.126 302.8)

  • #D68C43

    #D68C43

    oklch(70.2% 0.126 62.7)

  • #00B8A6

    #00B8A6

    oklch(70.3% 0.125 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8BE0

    #AF8BE0

    oklch(70.3% 0.126 302.8)

  • #E3806B

    #E3806B

    oklch(70.4% 0.127 33)

  • #91AC4C

    #91AC4C

    oklch(70.3% 0.127 122.8)

  • #00B3CC

    #00B3CC

    oklch(70.4% 0.123 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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