#AF7BC6

Closest named color: Wisteria (#A87DC2). oklch(66.3% 0.122 315), rgb(175, 123, 198).

Aa

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

About this color

#AF7BC6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.122 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.014 away. Black text reads best on it, at 6.47:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.47:1
White text3.24:1

Values

HEX#AF7BC6
RGBrgb(175, 123, 198)
HSLhsl(282, 40%, 63%)
OKLCHoklch(66.3% 0.122 315)

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 #AF7BC6 3.24:1 AA large text Lc -65.0 Content text, not long reading
Black text on #AF7BC6 6.47:1 AA Lc 44.5 Non-text elements, placeholder text
#AF7BC6 text on white 3.24:1 AA large text Lc 59.6 Large or bold text, headings
#AF7BC6 text on black 6.47:1 AA Lc -42.1 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E2D3E9

    oklch(88.6% 0.034 315.2)

  4. Step 300

    300

    #CFB6DB

    oklch(80.9% 0.058 314.8)

  5. Step 400

    400

    #B78FCA

    oklch(70.8% 0.095 314.6)

  6. Step 500

    500 (this color)

    #AF7BC6

    oklch(66.3% 0.122 315)

  7. Step 600

    600

    #9059A8

    oklch(55.7% 0.132 314.9)

  8. Step 700

    700

    #7A4890

    oklch(49% 0.123 314.7)

  9. Step 800

    800

    #643C75

    oklch(42.8% 0.102 315.1)

  10. Step 900

    900

    #51335E

    oklch(37.6% 0.08 315.1)

  11. Step 950

    950

    #301E37

    oklch(26.9% 0.051 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BC6 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)#6F8CC90.098
Deuteranopia (no green cones)#7B90C40.090
Tritanopia (no blue cones)#AE85970.083
Achromatopsia (no color)#8F8F8F0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BC6

    #AF7BC6

    oklch(66.3% 0.122 315)

  • #72A354

    #72A354

    oklch(66.2% 0.121 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BC6

    #AF7BC6

    oklch(66.3% 0.122 315)

  • #8C87DA

    #8C87DA

    oklch(66.2% 0.122 285.3)

  • #C773A4

    #C773A4

    oklch(66.3% 0.121 345)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BC6

    #AF7BC6

    oklch(66.3% 0.122 315)

  • #9E9730

    #9E9730

    oklch(66.3% 0.122 105.4)

  • #35AA80

    #35AA80

    oklch(66.2% 0.121 164.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BC6

    #AF7BC6

    oklch(66.3% 0.122 315)

  • #BE872E

    #BE872E

    oklch(66.3% 0.122 75.2)

  • #00A8A8

    #00A8A8

    oklch(66.2% 0.113 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BC6

    #AF7BC6

    oklch(66.3% 0.122 315)

  • #D07951

    #D07951

    oklch(66.3% 0.122 44.8)

  • #72A354

    #72A354

    oklch(66.2% 0.121 134.7)

  • #17A2CB

    #17A2CB

    oklch(66.4% 0.122 225)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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