#AF8FC4

Closest named color: Pale Purple (#B790D4). oklch(69.8% 0.084 311.6), rgb(175, 143, 196).

Aa

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

About this color

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

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

Values

HEX#AF8FC4
RGBrgb(175, 143, 196)
HSLhsl(276, 31%, 66%)
OKLCHoklch(69.8% 0.084 311.6)

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 #AF8FC4 2.78:1 Fails Lc -58.8 Large or bold text, headings
Black text on #AF8FC4 7.54:1 AAA Lc 50.5 Large or bold text, headings
#AF8FC4 text on white 2.78:1 Fails Lc 53.6 Large or bold text, headings
#AF8FC4 text on black 7.54: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E7

    oklch(88.4% 0.028 311.3)

  4. Step 300

    300

    #CCB8DA

    oklch(81% 0.052 311.4)

  5. Step 400

    400 (this color)

    #AF8FC4

    oklch(69.8% 0.084 311.6)

  6. Step 500

    500

    #9F76B9

    oklch(63.1% 0.108 311.6)

  7. Step 600

    600

    #8A5EA4

    oklch(55.7% 0.115 312)

  8. Step 700

    700

    #754D8D

    oklch(49.1% 0.108 311.8)

  9. Step 800

    800

    #5F3F72

    oklch(42.6% 0.09 311.9)

  10. Step 900

    900

    #4E365C

    oklch(37.7% 0.07 312.3)

  11. Step 950

    950

    #2E2036

    oklch(27.1% 0.044 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FC4 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)#8799C60.060
Deuteranopia (no green cones)#8D9CC20.058
Tritanopia (no blue cones)#AD96A20.060
Achromatopsia (no color)#9B9B9B0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FC4

    #AF8FC4

    oklch(69.8% 0.084 311.6)

  • #8BA972

    #8BA972

    oklch(69.8% 0.084 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FC4

    #AF8FC4

    oklch(69.8% 0.084 311.6)

  • #9598D1

    #9598D1

    oklch(69.9% 0.083 281.7)

  • #C289AD

    #C289AD

    oklch(69.7% 0.084 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FC4

    #AF8FC4

    oklch(69.8% 0.084 311.6)

  • #A8A061

    #A8A061

    oklch(69.8% 0.084 102)

  • #6CAE8D

    #6CAE8D

    oklch(69.7% 0.084 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FC4

    #AF8FC4

    oklch(69.8% 0.084 311.6)

  • #BE9562

    #BE9562

    oklch(69.7% 0.084 71.8)

  • #58AEAB

    #58AEAB

    oklch(69.7% 0.083 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FC4

    #AF8FC4

    oklch(69.8% 0.084 311.6)

  • #CB8D75

    #CB8D75

    oklch(69.9% 0.084 42)

  • #8BA972

    #8BA972

    oklch(69.8% 0.084 131.5)

  • #5EAAC3

    #5EAAC3

    oklch(69.9% 0.084 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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