#AF91ED

Closest named color: Pale Purple (#B790D4). oklch(72% 0.134 298), rgb(175, 145, 237).

Aa

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

About this color

#AF91ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.134 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.038 away. Black text reads best on it, at 8.09:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.09:1
White text2.59:1

Values

HEX#AF91ED
RGBrgb(175, 145, 237)
HSLhsl(260, 72%, 75%)
OKLCHoklch(72% 0.134 298)

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 #AF91ED 2.59:1 Fails Lc -55.7 Large or bold text, headings
Black text on #AF91ED 8.09:1 AAA Lc 53.4 Large or bold text, headings
#AF91ED text on white 2.59:1 Fails Lc 50.6 Large or bold text, headings
#AF91ED text on black 8.09:1 AAA Lc -51.3 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F5

    oklch(88.5% 0.047 297.5)

  4. Step 300

    300

    #C7B5F0

    oklch(80.8% 0.084 298.5)

  5. Step 400

    400 (this color)

    #AF91ED

    oklch(72% 0.134 298)

  6. Step 500

    500

    #976EE2

    oklch(63.1% 0.17 297.6)

  7. Step 600

    600

    #8352CF

    oklch(55.6% 0.185 298.2)

  8. Step 700

    700

    #6F42B4

    oklch(49.2% 0.173 297.9)

  9. Step 800

    800

    #5A3791

    oklch(42.6% 0.143 298)

  10. Step 900

    900

    #4A3174

    oklch(37.8% 0.111 298.1)

  11. Step 950

    950

    #2B1D44

    oklch(27% 0.071 298)

Export this scale for Tailwind in the Tailwind colors tool

#AF91ED 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)#79A1F10.078
Deuteranopia (no green cones)#7EA0EB0.073
Tritanopia (no blue cones)#A3A1B40.107
Achromatopsia (no color)#A1A1A10.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF91ED

    #AF91ED

    oklch(72% 0.134 298)

  • #9DAF44

    #9DAF44

    oklch(71.8% 0.133 118)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF91ED

    #AF91ED

    oklch(72% 0.134 298)

  • #81A0F8

    #81A0F8

    oklch(72% 0.133 268.2)

  • #D185CF

    #D185CF

    oklch(72% 0.134 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF91ED

    #AF91ED

    oklch(72% 0.134 298)

  • #C79F2C

    #C79F2C

    oklch(72% 0.134 88.3)

  • #64BB73

    #64BB73

    oklch(71.9% 0.134 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF91ED

    #AF91ED

    oklch(72% 0.134 298)

  • #E28D47

    #E28D47

    oklch(71.9% 0.134 57.7)

  • #00BFA5

    #00BFA5

    oklch(72% 0.132 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF91ED

    #AF91ED

    oklch(72% 0.134 298)

  • #EC8175

    #EC8175

    oklch(71.9% 0.134 27.6)

  • #9DAF44

    #9DAF44

    oklch(71.8% 0.133 118)

  • #00B9CD

    #00B9CD

    oklch(71.9% 0.124 208.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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