#AF7BCB

Closest named color: Wisteria (#A87DC2). oklch(66.5% 0.127 313.1), rgb(175, 123, 203).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.51:1
White text3.22:1

Values

HEX#AF7BCB
RGBrgb(175, 123, 203)
HSLhsl(279, 43%, 64%)
OKLCHoklch(66.5% 0.127 313.1)

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 #AF7BCB 3.22:1 AA large text Lc -64.7 Content text, not long reading
Black text on #AF7BCB 6.51:1 AA Lc 44.8 Non-text elements, placeholder text
#AF7BCB text on white 3.22:1 AA large text Lc 59.3 Large or bold text, headings
#AF7BCB text on black 6.51:1 AA Lc -42.4 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

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CFB5DE

    oklch(80.8% 0.063 313.2)

  5. Step 400

    400

    #B68ECD

    oklch(70.6% 0.1 312.8)

  6. Step 500

    500 (this color)

    #AF7BCB

    oklch(66.5% 0.127 313.1)

  7. Step 600

    600

    #8F58AC

    oklch(55.6% 0.138 312.9)

  8. Step 700

    700

    #7A4794

    oklch(49.1% 0.129 313.1)

  9. Step 800

    800

    #633B78

    oklch(42.7% 0.107 312.9)

  10. Step 900

    900

    #513361

    oklch(37.7% 0.084 313)

  11. Step 950

    950

    #2F1E39

    oklch(26.9% 0.053 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BCB 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)#6C8CCE0.101
Deuteranopia (no green cones)#7991C90.093
Tritanopia (no blue cones)#AD86990.089
Achromatopsia (no color)#8F8F8F0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BCB

    #AF7BCB

    oklch(66.5% 0.127 313.1)

  • #74A44E

    #74A44E

    oklch(66.5% 0.128 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BCB

    #AF7BCB

    oklch(66.5% 0.127 313.1)

  • #8A88DF

    #8A88DF

    oklch(66.5% 0.127 283.4)

  • #C972A8

    #C972A8

    oklch(66.5% 0.128 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BCB

    #AF7BCB

    oklch(66.5% 0.127 313.1)

  • #A29626

    #A29626

    oklch(66.4% 0.127 103)

  • #31AC7D

    #31AC7D

    oklch(66.6% 0.128 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BCB

    #AF7BCB

    oklch(66.5% 0.127 313.1)

  • #C28628

    #C28628

    oklch(66.5% 0.127 73.5)

  • #00A9A7

    #00A9A7

    oklch(66.5% 0.114 193.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BCB

    #AF7BCB

    oklch(66.5% 0.127 313.1)

  • #D47750

    #D47750

    oklch(66.5% 0.128 42.9)

  • #74A44E

    #74A44E

    oklch(66.5% 0.128 133)

  • #00A3CB

    #00A3CB

    oklch(66.4% 0.124 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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