#AF8FC8

Closest named color: Pale Purple (#B790D4). oklch(69.9% 0.089 309.7), rgb(175, 143, 200).

Aa

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

About this color

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

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

Values

HEX#AF8FC8
RGBrgb(175, 143, 200)
HSLhsl(274, 34%, 67%)
OKLCHoklch(69.9% 0.089 309.7)

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 #AF8FC8 2.76:1 Fails Lc -58.6 Large or bold text, headings
Black text on #AF8FC8 7.58:1 AAA Lc 50.7 Large or bold text, headings
#AF8FC8 text on white 2.76:1 Fails Lc 53.4 Large or bold text, headings
#AF8FC8 text on black 7.58:1 AAA Lc -48.5 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

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DFD4E9

    oklch(88.5% 0.031 309.1)

  4. Step 300

    300

    #CBB7DC

    oklch(80.8% 0.056 309.4)

  5. Step 400

    400 (this color)

    #AF8FC8

    oklch(69.9% 0.089 309.7)

  6. Step 500

    500

    #9E75BD

    oklch(63% 0.114 309.6)

  7. Step 600

    600

    #895DA9

    oklch(55.6% 0.123 309.6)

  8. Step 700

    700

    #744C91

    oklch(49.1% 0.115 309.5)

  9. Step 800

    800

    #5F3F76

    oklch(42.8% 0.095 309.7)

  10. Step 900

    900

    #4D365F

    oklch(37.7% 0.073 309.1)

  11. Step 950

    950

    #2D2038

    oklch(27.1% 0.047 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FC8 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)#859ACA0.063
Deuteranopia (no green cones)#8C9CC60.059
Tritanopia (no blue cones)#AC97A30.066
Achromatopsia (no color)#9B9B9B0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FC8

    #AF8FC8

    oklch(69.9% 0.089 309.7)

  • #8CAA6E

    #8CAA6E

    oklch(70% 0.09 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FC8

    #AF8FC8

    oklch(69.9% 0.089 309.7)

  • #9398D5

    #9398D5

    oklch(69.9% 0.089 280.2)

  • #C489B0

    #C489B0

    oklch(70.1% 0.088 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FC8

    #AF8FC8

    oklch(69.9% 0.089 309.7)

  • #ABA05D

    #ABA05D

    oklch(70% 0.089 100.1)

  • #6BAF8B

    #6BAF8B

    oklch(69.8% 0.088 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FC8

    #AF8FC8

    oklch(69.9% 0.089 309.7)

  • #C29460

    #C29460

    oklch(69.9% 0.088 69)

  • #53B0AA

    #53B0AA

    oklch(69.9% 0.089 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FC8

    #AF8FC8

    oklch(69.9% 0.089 309.7)

  • #CE8B74

    #CE8B74

    oklch(69.9% 0.089 39.7)

  • #8CAA6E

    #8CAA6E

    oklch(70% 0.09 130)

  • #58ABC4

    #58ABC4

    oklch(69.9% 0.088 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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