#AF6ED9

Closest named color: Light Urple (#B36FF6). oklch(65.1% 0.166 310.6), rgb(175, 110, 217).

Aa

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

About this color

#AF6ED9 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.166 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.043 away. Black text reads best on it, at 6.05:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.05:1
White text3.46:1

Values

HEX#AF6ED9
RGBrgb(175, 110, 217)
HSLhsl(276, 58%, 64%)
OKLCHoklch(65.1% 0.166 310.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 #AF6ED9 3.46:1 AA large text Lc -67.4 Content text, not long reading
Black text on #AF6ED9 6.05:1 AA Lc 42.1 Non-text elements, placeholder text
#AF6ED9 text on white 3.46:1 AA large text Lc 61.9 Content text, not long reading
#AF6ED9 text on black 6.05:1 AA Lc -39.7 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F0

    oklch(88.5% 0.046 311.2)

  4. Step 300

    300

    #D1B2E8

    oklch(80.8% 0.082 310.5)

  5. Step 400

    400

    #BA88DC

    oklch(70.6% 0.13 310.7)

  6. Step 500

    500 (this color)

    #AF6ED9

    oklch(65.1% 0.166 310.6)

  7. Step 600

    600

    #944CBF

    oklch(55.5% 0.18 310.7)

  8. Step 700

    700

    #7E3CA5

    oklch(49% 0.168 310.6)

  9. Step 800

    800

    #673386

    oklch(42.8% 0.139 310.8)

  10. Step 900

    900

    #532E6B

    oklch(37.7% 0.107 310.3)

  11. Step 950

    950

    #311B3F

    oklch(27% 0.069 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF6ED9 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)#5387DD0.135
Deuteranopia (no green cones)#668BD60.122
Tritanopia (no blue cones)#AA7F990.116
Achromatopsia (no color)#8A8A8A0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6ED9

    #AF6ED9

    oklch(65.1% 0.166 310.6)

  • #6BA21E

    #6BA21E

    oklch(65% 0.165 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6ED9

    #AF6ED9

    oklch(65.1% 0.166 310.6)

  • #7F7FF1

    #7F7FF1

    oklch(65% 0.166 280.7)

  • #CF61AE

    #CF61AE

    oklch(65% 0.165 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF6ED9

    #AF6ED9

    oklch(65.1% 0.166 310.6)

  • #A29100

    #A29100

    oklch(65.2% 0.136 101)

  • #00AA71

    #00AA71

    oklch(65.2% 0.146 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6ED9

    #AF6ED9

    oklch(65.1% 0.166 310.6)

  • #C47E00

    #C47E00

    oklch(65.1% 0.14 70.8)

  • #00A59F

    #00A59F

    oklch(65.2% 0.112 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6ED9

    #AF6ED9

    oklch(65.1% 0.166 310.6)

  • #E06535

    #E06535

    oklch(65% 0.166 40.6)

  • #6BA21E

    #6BA21E

    oklch(65% 0.165 130.6)

  • #009FC2

    #009FC2

    oklch(65% 0.119 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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