#AF7FDA

Closest named color: Wisteria (#A87DC2). oklch(67.9% 0.139 307.4), rgb(175, 127, 218).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.87:1
White text3.05:1

Values

HEX#AF7FDA
RGBrgb(175, 127, 218)
HSLhsl(272, 55%, 68%)
OKLCHoklch(67.9% 0.139 307.4)

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 #AF7FDA 3.05:1 AA large text Lc -62.6 Content text, not long reading
Black text on #AF7FDA 6.87:1 AA Lc 46.8 Large or bold text, headings
#AF7FDA text on white 3.05:1 AA large text Lc 57.3 Large or bold text, headings
#AF7FDA text on black 6.87:1 AA Lc -44.5 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D0B2ED

    oklch(80.9% 0.088 307.6)

  5. Step 400

    400 (this color)

    #AF7FDA

    oklch(67.9% 0.139 307.4)

  6. Step 500

    500

    #A666DB

    oklch(63% 0.178 307.3)

  7. Step 600

    600

    #924AC9

    oklch(55.7% 0.193 307.3)

  8. Step 700

    700

    #7C3AAD

    oklch(49.1% 0.179 307.4)

  9. Step 800

    800

    #65318C

    oklch(42.7% 0.148 307.6)

  10. Step 900

    900

    #522D70

    oklch(37.7% 0.115 307.3)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FDA 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)#6A92DD0.102
Deuteranopia (no green cones)#7694D80.093
Tritanopia (no blue cones)#A98DA20.101
Achromatopsia (no color)#9393930.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FDA

    #AF7FDA

    oklch(67.9% 0.139 307.4)

  • #80A740

    #80A740

    oklch(67.8% 0.139 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FDA

    #AF7FDA

    oklch(67.9% 0.139 307.4)

  • #848EEC

    #848EEC

    oklch(67.9% 0.138 277.4)

  • #CD74B6

    #CD74B6

    oklch(67.8% 0.138 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FDA

    #AF7FDA

    oklch(67.9% 0.139 307.4)

  • #B09707

    #B09707

    oklch(67.9% 0.139 97.1)

  • #39B175

    #39B175

    oklch(67.9% 0.139 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FDA

    #AF7FDA

    oklch(67.9% 0.139 307.4)

  • #D08522

    #D08522

    oklch(68% 0.139 67.4)

  • #00AFA5

    #00AFA5

    oklch(67.9% 0.118 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FDA

    #AF7FDA

    oklch(67.9% 0.139 307.4)

  • #DF7657

    #DF7657

    oklch(67.9% 0.139 37.3)

  • #80A740

    #80A740

    oklch(67.8% 0.139 127.3)

  • #00A9C9

    #00A9C9

    oklch(67.8% 0.122 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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