#AF82EC

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.156 302.1), rgb(175, 130, 236).

Aa

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

About this color

#AF82EC is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.156 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.039 away. Black text reads best on it, at 7.22:1.

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

Values

HEX#AF82EC
RGBrgb(175, 130, 236)
HSLhsl(265, 74%, 72%)
OKLCHoklch(69.3% 0.156 302.1)

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 #AF82EC 2.90:1 Fails Lc -60.5 Content text, not long reading
Black text on #AF82EC 7.22:1 AAA Lc 48.8 Large or bold text, headings
#AF82EC text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#AF82EC text on black 7.22:1 AAA Lc -46.6 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)

    #AF82EC

    oklch(69.3% 0.156 302.1)

  6. Step 500

    500

    #A163EB

    oklch(63% 0.199 302)

  7. Step 600

    600

    #8D44DA

    oklch(55.6% 0.218 302)

  8. Step 700

    700

    #7834BD

    oklch(49.1% 0.202 302)

  9. Step 800

    800

    #622D99

    oklch(42.8% 0.168 302.2)

  10. Step 900

    900

    #4F2A7A

    oklch(37.6% 0.131 301.7)

  11. Step 950

    950

    #2E1A47

    oklch(27% 0.082 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF82EC 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)#6497F00.107
Deuteranopia (no green cones)#6F97E90.098
Tritanopia (no blue cones)#A494AC0.119
Achromatopsia (no color)#9797970.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF82EC

    #AF82EC

    oklch(69.3% 0.156 302.1)

  • #8CAB24

    #8CAB24

    oklch(69.4% 0.157 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF82EC

    #AF82EC

    oklch(69.3% 0.156 302.1)

  • #7B93FC

    #7B93FC

    oklch(69.2% 0.156 272)

  • #D374C7

    #D374C7

    oklch(69.3% 0.157 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF82EC

    #AF82EC

    oklch(69.3% 0.156 302.1)

  • #BC9800

    #BC9800

    oklch(69.3% 0.142 91.8)

  • #3CB76A

    #3CB76A

    oklch(69.3% 0.156 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF82EC

    #AF82EC

    oklch(69.3% 0.156 302.1)

  • #DF820F

    #DF820F

    oklch(69.2% 0.156 61.9)

  • #00B5A2

    #00B5A2

    oklch(69.4% 0.124 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF82EC

    #AF82EC

    oklch(69.3% 0.156 302.1)

  • #ED725C

    #ED725C

    oklch(69.3% 0.157 31.7)

  • #8CAB24

    #8CAB24

    oklch(69.4% 0.157 122.3)

  • #00AFC8

    #00AFC8

    oklch(69.2% 0.121 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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