#AF8FC7

Closest named color: Pale Purple (#B790D4). oklch(69.9% 0.087 310.2), rgb(175, 143, 199).

Aa

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

About this color

#AF8FC7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.087 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.023 away. Black text reads best on it, at 7.57:1.

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

Values

HEX#AF8FC7
RGBrgb(175, 143, 199)
HSLhsl(274, 33%, 67%)
OKLCHoklch(69.9% 0.087 310.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 #AF8FC7 2.77:1 Fails Lc -58.7 Large or bold text, headings
Black text on #AF8FC7 7.57:1 AAA Lc 50.6 Large or bold text, headings
#AF8FC7 text on white 2.77:1 Fails Lc 53.4 Large or bold text, headings
#AF8FC7 text on black 7.57:1 AAA Lc -48.4 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

    #DFD4E8

    oklch(88.5% 0.03 310.1)

  4. Step 300

    300

    #CCB7DB

    oklch(80.9% 0.055 311.2)

  5. Step 400

    400 (this color)

    #AF8FC7

    oklch(69.9% 0.087 310.2)

  6. Step 500

    500

    #9E75BC

    oklch(63% 0.113 310)

  7. Step 600

    600

    #895DA8

    oklch(55.6% 0.122 310)

  8. Step 700

    700

    #744C90

    oklch(49% 0.113 309.9)

  9. Step 800

    800

    #5F3F75

    oklch(42.8% 0.094 310.3)

  10. Step 900

    900

    #4E365E

    oklch(37.8% 0.072 310.9)

  11. Step 950

    950

    #2D2037

    oklch(27% 0.045 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FC7 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)#869AC90.062
Deuteranopia (no green cones)#8C9CC50.059
Tritanopia (no blue cones)#AC96A30.063
Achromatopsia (no color)#9B9B9B0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FC7

    #AF8FC7

    oklch(69.9% 0.087 310.2)

  • #8CA96F

    #8CA96F

    oklch(69.8% 0.087 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FC7

    #AF8FC7

    oklch(69.9% 0.087 310.2)

  • #9398D4

    #9398D4

    oklch(69.8% 0.088 280.2)

  • #C389AF

    #C389AF

    oklch(69.9% 0.087 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FC7

    #AF8FC7

    oklch(69.9% 0.087 310.2)

  • #AAA05E

    #AAA05E

    oklch(69.9% 0.088 100.8)

  • #6BAF8C

    #6BAF8C

    oklch(69.9% 0.087 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FC7

    #AF8FC7

    oklch(69.9% 0.087 310.2)

  • #C19560

    #C19560

    oklch(69.9% 0.088 70.8)

  • #55B0AA

    #55B0AA

    oklch(70% 0.087 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FC7

    #AF8FC7

    oklch(69.9% 0.087 310.2)

  • #CD8C74

    #CD8C74

    oklch(69.9% 0.087 41.1)

  • #8CA96F

    #8CA96F

    oklch(69.8% 0.087 130)

  • #59ABC4

    #59ABC4

    oklch(69.9% 0.088 220.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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