#AF82ED

Closest named color: Light Purple (#BF77F6). oklch(69.4% 0.157 301.9), rgb(175, 130, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.157)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.23:1
White text2.90:1

Values

HEX#AF82ED
RGBrgb(175, 130, 237)
HSLhsl(265, 75%, 72%)
OKLCHoklch(69.4% 0.157 301.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 #AF82ED 2.90:1 Fails Lc -60.5 Content text, not long reading
Black text on #AF82ED 7.23:1 AAA Lc 48.9 Large or bold text, headings
#AF82ED text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#AF82ED text on black 7.23:1 AAA Lc -46.7 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

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD1F8

    oklch(88.4% 0.055 301.6)

  4. Step 300

    300

    #CCB2F6

    oklch(80.9% 0.098 301.8)

  5. Step 400

    400 (this color)

    #AF82ED

    oklch(69.4% 0.157 301.9)

  6. Step 500

    500

    #A163EC

    oklch(63.1% 0.2 301.8)

  7. Step 600

    600

    #8D44DB

    oklch(55.6% 0.219 301.7)

  8. Step 700

    700

    #7834BE

    oklch(49.1% 0.203 301.7)

  9. Step 800

    800

    #622D9A

    oklch(42.8% 0.169 301.9)

  10. Step 900

    900

    #4F2A7A

    oklch(37.6% 0.131 301.7)

  11. Step 950

    950

    #2E1A48

    oklch(27% 0.083 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF82ED 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)#6497F10.107
Deuteranopia (no green cones)#6E97EA0.099
Tritanopia (no blue cones)#A495AC0.121
Achromatopsia (no color)#9898980.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF82ED

    #AF82ED

    oklch(69.4% 0.157 301.9)

  • #8DAB21

    #8DAB21

    oklch(69.4% 0.158 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF82ED

    #AF82ED

    oklch(69.4% 0.157 301.9)

  • #7B94FD

    #7B94FD

    oklch(69.5% 0.156 271.7)

  • #D474C8

    #D474C8

    oklch(69.4% 0.158 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF82ED

    #AF82ED

    oklch(69.4% 0.157 301.9)

  • #BC9800

    #BC9800

    oklch(69.3% 0.142 91.8)

  • #3BB769

    #3BB769

    oklch(69.3% 0.157 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF82ED

    #AF82ED

    oklch(69.4% 0.157 301.9)

  • #E0820B

    #E0820B

    oklch(69.4% 0.158 61.9)

  • #00B5A2

    #00B5A2

    oklch(69.4% 0.124 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF82ED

    #AF82ED

    oklch(69.4% 0.157 301.9)

  • #EE725C

    #EE725C

    oklch(69.4% 0.158 31.7)

  • #8DAB21

    #8DAB21

    oklch(69.4% 0.158 121.9)

  • #00B0C8

    #00B0C8

    oklch(69.5% 0.121 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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