#AF8BDB

Closest named color: Pale Purple (#B790D4). oklch(70.1% 0.12 304.2), rgb(175, 139, 219).

Aa

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

About this color

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

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

Values

HEX#AF8BDB
RGBrgb(175, 139, 219)
HSLhsl(267, 53%, 70%)
OKLCHoklch(70.1% 0.12 304.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 #AF8BDB 2.78:1 Fails Lc -58.8 Large or bold text, headings
Black text on #AF8BDB 7.53:1 AAA Lc 50.4 Large or bold text, headings
#AF8BDB text on white 2.78:1 Fails Lc 53.6 Large or bold text, headings
#AF8BDB text on black 7.53:1 AAA Lc -48.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3F0

    oklch(88.5% 0.041 304.3)

  4. Step 300

    300

    #CBB5E9

    oklch(80.9% 0.076 304)

  5. Step 400

    400 (this color)

    #AF8BDB

    oklch(70.1% 0.12 304.2)

  6. Step 500

    500

    #9E6ED4

    oklch(63% 0.154 304)

  7. Step 600

    600

    #8954C1

    oklch(55.6% 0.167 303.9)

  8. Step 700

    700

    #7544A6

    oklch(49.2% 0.154 304.4)

  9. Step 800

    800

    #5F3887

    oklch(42.7% 0.129 304.2)

  10. Step 900

    900

    #4E316C

    oklch(37.7% 0.101 304.7)

  11. Step 950

    950

    #2D1D3F

    oklch(26.8% 0.064 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF8BDB 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)#799ADE0.080
Deuteranopia (no green cones)#819BD90.074
Tritanopia (no blue cones)#A897A90.090
Achromatopsia (no color)#9B9B9B0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8BDB

    #AF8BDB

    oklch(70.1% 0.12 304.2)

  • #8FAB53

    #8FAB53

    oklch(70% 0.12 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8BDB

    #AF8BDB

    oklch(70.1% 0.12 304.2)

  • #8898E9

    #8898E9

    oklch(70% 0.12 274.4)

  • #CC81BD

    #CC81BD

    oklch(70.1% 0.12 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF8BDB

    #AF8BDB

    oklch(70.1% 0.12 304.2)

  • #B79D3A

    #B79D3A

    oklch(70.1% 0.12 94.2)

  • #5BB47C

    #5BB47C

    oklch(70% 0.12 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8BDB

    #AF8BDB

    oklch(70.1% 0.12 304.2)

  • #D28D47

    #D28D47

    oklch(70% 0.12 63.9)

  • #1AB6A7

    #1AB6A7

    oklch(70% 0.12 184.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8BDB

    #AF8BDB

    oklch(70.1% 0.12 304.2)

  • #DF826C

    #DF826C

    oklch(70.2% 0.12 34.2)

  • #8FAB53

    #8FAB53

    oklch(70% 0.12 124)

  • #17B1CC

    #17B1CC

    oklch(70% 0.12 214.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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