#AF8BD2

Closest named color: Pale Purple (#B790D4). oklch(69.6% 0.108 307), rgb(175, 139, 210).

Aa

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

About this color

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

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

Values

HEX#AF8BD2
RGBrgb(175, 139, 210)
HSLhsl(270, 44%, 68%)
OKLCHoklch(69.6% 0.108 307)

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 #AF8BD2 2.82:1 Fails Lc -59.4 Large or bold text, headings
Black text on #AF8BD2 7.44:1 AAA Lc 49.9 Large or bold text, headings
#AF8BD2 text on white 2.82:1 Fails Lc 54.1 Large or bold text, headings
#AF8BD2 text on black 7.44:1 AAA Lc -47.7 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F4

    oklch(93.6% 0.018 306.7)

  3. Step 200

    200

    #DFD3ED

    oklch(88.4% 0.037 306.4)

  4. Step 300

    300

    #CCB6E3

    oklch(81% 0.067 307.1)

  5. Step 400

    400 (this color)

    #AF8BD2

    oklch(69.6% 0.108 307)

  6. Step 500

    500

    #A071CA

    oklch(63.2% 0.138 307.2)

  7. Step 600

    600

    #8B57B7

    oklch(55.6% 0.151 307.2)

  8. Step 700

    700

    #76479E

    oklch(49.2% 0.14 306.9)

  9. Step 800

    800

    #603B80

    oklch(42.8% 0.116 306.9)

  10. Step 900

    900

    #4E3367

    oklch(37.7% 0.091 306.5)

  11. Step 950

    950

    #2E1E3C

    oklch(27% 0.058 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF8BD2 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)#7D98D50.074
Deuteranopia (no green cones)#859AD00.069
Tritanopia (no blue cones)#AA95A50.080
Achromatopsia (no color)#9A9A9A0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8BD2

    #AF8BD2

    oklch(69.6% 0.108 307)

  • #8BAA5E

    #8BAA5E

    oklch(69.7% 0.108 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8BD2

    #AF8BD2

    oklch(69.6% 0.108 307)

  • #8C97E0

    #8C97E0

    oklch(69.7% 0.108 276.7)

  • #C883B6

    #C883B6

    oklch(69.7% 0.108 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF8BD2

    #AF8BD2

    oklch(69.6% 0.108 307)

  • #B09D48

    #B09D48

    oklch(69.5% 0.108 96.9)

  • #5EB282

    #5EB282

    oklch(69.7% 0.109 156.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8BD2

    #AF8BD2

    oklch(69.6% 0.108 307)

  • #CA8F4F

    #CA8F4F

    oklch(69.5% 0.108 66.6)

  • #34B3A9

    #34B3A9

    oklch(69.7% 0.109 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8BD2

    #AF8BD2

    oklch(69.6% 0.108 307)

  • #D7846C

    #D7846C

    oklch(69.5% 0.109 36.9)

  • #8BAA5E

    #8BAA5E

    oklch(69.7% 0.108 127.2)

  • #38ADC9

    #38ADC9

    oklch(69.5% 0.109 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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