#AF82F2

Closest named color: Light Purple (#BF77F6). oklch(69.7% 0.164 300.8), rgb(175, 130, 242).

Aa

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

About this color

#AF82F2 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.164 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.035 away. Black text reads best on it, at 7.29:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.29:1
White text2.87:1

Values

HEX#AF82F2
RGBrgb(175, 130, 242)
HSLhsl(264, 81%, 73%)
OKLCHoklch(69.7% 0.164 300.8)

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 #AF82F2 2.87:1 Fails Lc -60.1 Content text, not long reading
Black text on #AF82F2 7.29:1 AAA Lc 49.2 Large or bold text, headings
#AF82F2 text on white 2.87:1 Fails Lc 54.8 Large or bold text, headings
#AF82F2 text on black 7.29:1 AAA Lc -47.0 Large or bold text, headings

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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CBB1F9

    oklch(80.8% 0.103 300.7)

  5. Step 400

    400 (this color)

    #AF82F2

    oklch(69.7% 0.164 300.8)

  6. Step 500

    500

    #A161F2

    oklch(63.2% 0.21 300.9)

  7. Step 600

    600

    #8C41E0

    oklch(55.5% 0.227 300.6)

  8. Step 700

    700

    #7831C3

    oklch(49.2% 0.212 300.8)

  9. Step 800

    800

    #612B9D

    oklch(42.7% 0.174 300.8)

  10. Step 900

    900

    #4F297D

    oklch(37.7% 0.136 300.8)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF82F2 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)#6198F60.110
Deuteranopia (no green cones)#6B98EF0.102
Tritanopia (no blue cones)#A296AF0.126
Achromatopsia (no color)#9898980.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF82F2

    #AF82F2

    oklch(69.7% 0.164 300.8)

  • #8FAB0E

    #8FAB0E

    oklch(69.5% 0.164 120.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF82F2

    #AF82F2

    oklch(69.7% 0.164 300.8)

  • #7995FF

    #7995FF

    oklch(69.6% 0.159 270.7)

  • #D573CC

    #D573CC

    oklch(69.6% 0.164 330.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF82F2

    #AF82F2

    oklch(69.7% 0.164 300.8)

  • #BF9800

    #BF9800

    oklch(69.6% 0.142 90.3)

  • #3AB965

    #3AB965

    oklch(69.7% 0.164 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF82F2

    #AF82F2

    oklch(69.7% 0.164 300.8)

  • #E48100

    #E48100

    oklch(69.7% 0.162 60.6)

  • #00B6A1

    #00B6A1

    oklch(69.6% 0.126 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF82F2

    #AF82F2

    oklch(69.7% 0.164 300.8)

  • #F2705C

    #F2705C

    oklch(69.7% 0.164 30.6)

  • #8FAB0E

    #8FAB0E

    oklch(69.5% 0.164 120.8)

  • #00B1C7

    #00B1C7

    oklch(69.7% 0.121 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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