#AF91F2

Closest named color: Liliac (#C48EFD). oklch(72.2% 0.14 297), rgb(175, 145, 242).

Aa

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

About this color

#AF91F2 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.140 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.037 away. Black text reads best on it, at 8.15:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.140)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.15:1
White text2.57:1

Values

HEX#AF91F2
RGBrgb(175, 145, 242)
HSLhsl(259, 79%, 76%)
OKLCHoklch(72.2% 0.14 297)

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 #AF91F2 2.57:1 Fails Lc -55.4 Large or bold text, headings
Black text on #AF91F2 8.15:1 AAA Lc 53.8 Large or bold text, headings
#AF91F2 text on white 2.57:1 Fails Lc 50.3 Large or bold text, headings
#AF91F2 text on black 8.15:1 AAA Lc -51.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C6B5F3

    oklch(80.9% 0.088 297)

  5. Step 400

    400 (this color)

    #AF91F2

    oklch(72.2% 0.14 297)

  6. Step 500

    500

    #976CE7

    oklch(63.1% 0.18 297.1)

  7. Step 600

    600

    #8250D5

    oklch(55.6% 0.195 296.9)

  8. Step 700

    700

    #6E40B8

    oklch(49.1% 0.18 296.8)

  9. Step 800

    800

    #5A3695

    oklch(42.8% 0.149 297.1)

  10. Step 900

    900

    #493077

    oklch(37.7% 0.117 296.6)

  11. Step 950

    950

    #2B1D46

    oklch(27.1% 0.074 296.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF91F2 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)#76A2F60.081
Deuteranopia (no green cones)#7BA0F00.076
Tritanopia (no blue cones)#A1A2B60.112
Achromatopsia (no color)#A1A1A10.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF91F2

    #AF91F2

    oklch(72.2% 0.14 297)

  • #A0B03C

    #A0B03C

    oklch(72.2% 0.14 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF91F2

    #AF91F2

    oklch(72.2% 0.14 297)

  • #7EA1FD

    #7EA1FD

    oklch(72.2% 0.14 267.1)

  • #D384D3

    #D384D3

    oklch(72.2% 0.14 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF91F2

    #AF91F2

    oklch(72.2% 0.14 297)

  • #CB9E1F

    #CB9E1F

    oklch(72.2% 0.14 86.8)

  • #63BD70

    #63BD70

    oklch(72.3% 0.14 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF91F2

    #AF91F2

    oklch(72.2% 0.14 297)

  • #E68C43

    #E68C43

    oklch(72.2% 0.14 56.9)

  • #00C0A4

    #00C0A4

    oklch(72.2% 0.134 177.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF91F2

    #AF91F2

    oklch(72.2% 0.14 297)

  • #F08075

    #F08075

    oklch(72.2% 0.139 26.9)

  • #A0B03C

    #A0B03C

    oklch(72.2% 0.14 116.8)

  • #00BACC

    #00BACC

    oklch(72.1% 0.124 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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