#AF93F2

Closest named color: Liliac (#C48EFD). oklch(72.6% 0.137 296.4), rgb(175, 147, 242).

Aa

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

About this color

#AF93F2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.137 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.038 away. Black text reads best on it, at 8.27:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.27:1
White text2.53:1

Values

HEX#AF93F2
RGBrgb(175, 147, 242)
HSLhsl(258, 79%, 76%)
OKLCHoklch(72.6% 0.137 296.4)

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 #AF93F2 2.53:1 Fails Lc -54.7 Large or bold text, headings
Black text on #AF93F2 8.27:1 AAA Lc 54.4 Large or bold text, headings
#AF93F2 text on white 2.53:1 Fails Lc 49.6 Large or bold text, headings
#AF93F2 text on black 8.27:1 AAA Lc -52.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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C5B6F2

    oklch(80.9% 0.085 295.9)

  5. Step 400

    400 (this color)

    #AF93F2

    oklch(72.6% 0.137 296.4)

  6. Step 500

    500

    #956DE5

    oklch(63% 0.176 296.4)

  7. Step 600

    600

    #8152D3

    oklch(55.6% 0.19 296.5)

  8. Step 700

    700

    #6D41B7

    oklch(49% 0.178 296.4)

  9. Step 800

    800

    #593794

    oklch(42.8% 0.146 296.5)

  10. Step 900

    900

    #493176

    oklch(37.8% 0.114 296.6)

  11. Step 950

    950

    #2A1D45

    oklch(26.9% 0.073 296.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF93F2 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)#79A3F60.077
Deuteranopia (no green cones)#7DA1F00.073
Tritanopia (no blue cones)#A1A4B70.111
Achromatopsia (no color)#A3A3A30.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF93F2

    #AF93F2

    oklch(72.6% 0.137 296.4)

  • #A2B140

    #A2B140

    oklch(72.7% 0.138 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF93F2

    #AF93F2

    oklch(72.6% 0.137 296.4)

  • #7FA3FD

    #7FA3FD

    oklch(72.7% 0.137 266.5)

  • #D386D4

    #D386D4

    oklch(72.6% 0.138 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF93F2

    #AF93F2

    oklch(72.6% 0.137 296.4)

  • #CC9F28

    #CC9F28

    oklch(72.5% 0.137 86.2)

  • #68BD71

    #68BD71

    oklch(72.6% 0.137 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF93F2

    #AF93F2

    oklch(72.6% 0.137 296.4)

  • #E78E48

    #E78E48

    oklch(72.7% 0.137 56.4)

  • #00C1A4

    #00C1A4

    oklch(72.5% 0.135 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF93F2

    #AF93F2

    oklch(72.6% 0.137 296.4)

  • #F08278

    #F08278

    oklch(72.6% 0.137 26.4)

  • #A2B140

    #A2B140

    oklch(72.7% 0.138 116.4)

  • #00BCCD

    #00BCCD

    oklch(72.6% 0.124 206.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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