#AF7FCF

Closest named color: Wisteria (#A87DC2). oklch(67.4% 0.125 310.9), rgb(175, 127, 207).

Aa

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

About this color

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

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

Values

HEX#AF7FCF
RGBrgb(175, 127, 207)
HSLhsl(276, 45%, 65%)
OKLCHoklch(67.4% 0.125 310.9)

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 #AF7FCF 3.10:1 AA large text Lc -63.3 Content text, not long reading
Black text on #AF7FCF 6.75:1 AA Lc 46.1 Large or bold text, headings
#AF7FCF text on white 3.10:1 AA large text Lc 57.9 Large or bold text, headings
#AF7FCF text on black 6.75:1 AA Lc -43.8 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 400.

  1. Step 50

    50

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300

    #D1B3E6

    oklch(80.9% 0.077 311.2)

  5. Step 400

    400 (this color)

    #AF7FCF

    oklch(67.4% 0.125 310.9)

  6. Step 500

    500

    #A869D0

    oklch(63.1% 0.161 310.8)

  7. Step 600

    600

    #934EBD

    oklch(55.6% 0.174 310.6)

  8. Step 700

    700

    #7E3EA3

    oklch(49.2% 0.163 311)

  9. Step 800

    800

    #663484

    oklch(42.7% 0.134 310.8)

  10. Step 900

    900

    #532E6A

    oklch(37.6% 0.106 310.8)

  11. Step 950

    950

    #311C3E

    oklch(27.1% 0.066 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FCF 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)#7090D20.095
Deuteranopia (no green cones)#7B93CD0.088
Tritanopia (no blue cones)#AC8A9D0.089
Achromatopsia (no color)#9292920.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FCF

    #AF7FCF

    oklch(67.4% 0.125 310.9)

  • #7BA64F

    #7BA64F

    oklch(67.4% 0.126 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FCF

    #AF7FCF

    oklch(67.4% 0.125 310.9)

  • #898CE2

    #898CE2

    oklch(67.4% 0.126 280.9)

  • #CA76AD

    #CA76AD

    oklch(67.4% 0.125 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FCF

    #AF7FCF

    oklch(67.4% 0.125 310.9)

  • #A7982B

    #A7982B

    oklch(67.3% 0.126 101.2)

  • #3EAE7D

    #3EAE7D

    oklch(67.4% 0.125 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FCF

    #AF7FCF

    oklch(67.4% 0.125 310.9)

  • #C68831

    #C68831

    oklch(67.4% 0.125 71.3)

  • #00ADA7

    #00ADA7

    oklch(67.5% 0.116 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FCF

    #AF7FCF

    oklch(67.4% 0.125 310.9)

  • #D67A57

    #D67A57

    oklch(67.3% 0.125 41.3)

  • #7BA64F

    #7BA64F

    oklch(67.4% 0.126 130.8)

  • #00A7CB

    #00A7CB

    oklch(67.4% 0.123 220.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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