#AF6FD9

Closest named color: Light Urple (#B36FF6). oklch(65.2% 0.164 310.5), rgb(175, 111, 217).

Aa

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

About this color

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

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

Values

HEX#AF6FD9
RGBrgb(175, 111, 217)
HSLhsl(276, 58%, 64%)
OKLCHoklch(65.2% 0.164 310.5)

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 #AF6FD9 3.44:1 AA large text Lc -67.2 Content text, not long reading
Black text on #AF6FD9 6.09:1 AA Lc 42.4 Non-text elements, placeholder text
#AF6FD9 text on white 3.44:1 AA large text Lc 61.7 Content text, not long reading
#AF6FD9 text on black 6.09:1 AA Lc -40.0 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

    #E2D1F0

    oklch(88.4% 0.046 309.9)

  4. Step 300

    300

    #D1B3E8

    oklch(81% 0.08 310.2)

  5. Step 400

    400

    #BA89DC

    oklch(70.8% 0.128 310.5)

  6. Step 500

    500 (this color)

    #AF6FD9

    oklch(65.2% 0.164 310.5)

  7. Step 600

    600

    #944DBF

    oklch(55.7% 0.178 310.6)

  8. Step 700

    700

    #7E3DA5

    oklch(49.2% 0.166 310.5)

  9. Step 800

    800

    #663385

    oklch(42.6% 0.137 310.6)

  10. Step 900

    900

    #532E6B

    oklch(37.7% 0.107 310.3)

  11. Step 950

    950

    #311C3F

    oklch(27.2% 0.067 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF6FD9 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)#5587DD0.133
Deuteranopia (no green cones)#678BD60.120
Tritanopia (no blue cones)#AA809A0.115
Achromatopsia (no color)#8A8A8A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6FD9

    #AF6FD9

    oklch(65.2% 0.164 310.5)

  • #6CA321

    #6CA321

    oklch(65.3% 0.165 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6FD9

    #AF6FD9

    oklch(65.2% 0.164 310.5)

  • #7F80F1

    #7F80F1

    oklch(65.2% 0.165 280.4)

  • #CF62AE

    #CF62AE

    oklch(65.2% 0.164 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF6FD9

    #AF6FD9

    oklch(65.2% 0.164 310.5)

  • #A39100

    #A39100

    oklch(65.3% 0.136 100.5)

  • #00AA71

    #00AA71

    oklch(65.2% 0.146 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6FD9

    #AF6FD9

    oklch(65.2% 0.164 310.5)

  • #C57E00

    #C57E00

    oklch(65.2% 0.141 70.4)

  • #00A5A0

    #00A5A0

    oklch(65.2% 0.112 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6FD9

    #AF6FD9

    oklch(65.2% 0.164 310.5)

  • #E06637

    #E06637

    oklch(65.2% 0.164 40.5)

  • #6CA321

    #6CA321

    oklch(65.3% 0.165 130.6)

  • #00A0C2

    #00A0C2

    oklch(65.3% 0.119 220.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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