#AF7BC7

Closest named color: Wisteria (#A87DC2). oklch(66.3% 0.123 314.6), rgb(175, 123, 199).

Aa

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

About this color

#AF7BC7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.123 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.015 away. Black text reads best on it, at 6.48:1.

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

Values

HEX#AF7BC7
RGBrgb(175, 123, 199)
HSLhsl(281, 40%, 63%)
OKLCHoklch(66.3% 0.123 314.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 #AF7BC7 3.24:1 AA large text Lc -65.0 Content text, not long reading
Black text on #AF7BC7 6.48:1 AA Lc 44.5 Non-text elements, placeholder text
#AF7BC7 text on white 3.24:1 AA large text Lc 59.5 Large or bold text, headings
#AF7BC7 text on black 6.48:1 AA Lc -42.2 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

    #E1D3E9

    oklch(88.5% 0.033 313.5)

  4. Step 300

    300

    #CFB6DC

    oklch(81% 0.059 314.1)

  5. Step 400

    400

    #B78ECA

    oklch(70.6% 0.097 314.8)

  6. Step 500

    500 (this color)

    #AF7BC7

    oklch(66.3% 0.123 314.6)

  7. Step 600

    600

    #9058A9

    oklch(55.6% 0.134 314.6)

  8. Step 700

    700

    #7A4891

    oklch(49.1% 0.124 314.3)

  9. Step 800

    800

    #643B75

    oklch(42.6% 0.103 315.3)

  10. Step 900

    900

    #51335F

    oklch(37.6% 0.081 314.4)

  11. Step 950

    950

    #301E37

    oklch(26.9% 0.051 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BC7 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)#6E8CCA0.099
Deuteranopia (no green cones)#7B90C50.090
Tritanopia (no blue cones)#AE85980.083
Achromatopsia (no color)#8F8F8F0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BC7

    #AF7BC7

    oklch(66.3% 0.123 314.6)

  • #72A453

    #72A453

    oklch(66.4% 0.124 134.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BC7

    #AF7BC7

    oklch(66.3% 0.123 314.6)

  • #8B87DB

    #8B87DB

    oklch(66.2% 0.123 284.7)

  • #C773A5

    #C773A5

    oklch(66.3% 0.122 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BC7

    #AF7BC7

    oklch(66.3% 0.123 314.6)

  • #9F972E

    #9F972E

    oklch(66.4% 0.123 104.9)

  • #34AA80

    #34AA80

    oklch(66.2% 0.122 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BC7

    #AF7BC7

    oklch(66.3% 0.123 314.6)

  • #BF872D

    #BF872D

    oklch(66.4% 0.123 74.8)

  • #00A8A8

    #00A8A8

    oklch(66.2% 0.113 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BC7

    #AF7BC7

    oklch(66.3% 0.123 314.6)

  • #D17951

    #D17951

    oklch(66.4% 0.123 44.6)

  • #72A453

    #72A453

    oklch(66.4% 0.124 134.6)

  • #10A2CB

    #10A2CB

    oklch(66.3% 0.123 224.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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