#AF94EC

Closest named color: Pale Purple (#B790D4). oklch(72.5% 0.128 297.2), rgb(175, 148, 236).

Aa

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

About this color

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

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

Values

HEX#AF94EC
RGBrgb(175, 148, 236)
HSLhsl(258, 70%, 75%)
OKLCHoklch(72.5% 0.128 297.2)

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 #AF94EC 2.53:1 Fails Lc -54.8 Large or bold text, headings
Black text on #AF94EC 8.26:1 AAA Lc 54.3 Large or bold text, headings
#AF94EC text on white 2.53:1 Fails Lc 49.7 Large or bold text, headings
#AF94EC text on black 8.26: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

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD4F4

    oklch(88.6% 0.044 296.9)

  4. Step 300

    300

    #C6B6EE

    oklch(80.9% 0.08 297.7)

  5. Step 400

    400 (this color)

    #AF94EC

    oklch(72.5% 0.128 297.2)

  6. Step 500

    500

    #9670DE

    oklch(63.1% 0.162 297.5)

  7. Step 600

    600

    #8155CC

    oklch(55.6% 0.177 297.4)

  8. Step 700

    700

    #6D45B1

    oklch(49.2% 0.165 297)

  9. Step 800

    800

    #59398F

    oklch(42.7% 0.137 297.4)

  10. Step 900

    900

    #493272

    oklch(37.7% 0.107 297.6)

  11. Step 950

    950

    #2A1E43

    oklch(27% 0.067 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF94EC 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)#7DA3EF0.072
Deuteranopia (no green cones)#81A2EA0.069
Tritanopia (no blue cones)#A3A3B50.102
Achromatopsia (no color)#A2A2A20.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF94EC

    #AF94EC

    oklch(72.5% 0.128 297.2)

  • #A0B04B

    #A0B04B

    oklch(72.4% 0.128 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF94EC

    #AF94EC

    oklch(72.5% 0.128 297.2)

  • #82A3F6

    #82A3F6

    oklch(72.5% 0.127 266.8)

  • #D088CF

    #D088CF

    oklch(72.4% 0.128 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF94EC

    #AF94EC

    oklch(72.5% 0.128 297.2)

  • #C8A038

    #C8A038

    oklch(72.4% 0.127 87.1)

  • #6BBC76

    #6BBC76

    oklch(72.5% 0.128 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF94EC

    #AF94EC

    oklch(72.5% 0.128 297.2)

  • #E2904F

    #E2904F

    oklch(72.5% 0.128 57.2)

  • #24C0A5

    #24C0A5

    oklch(72.6% 0.128 177.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF94EC

    #AF94EC

    oklch(72.5% 0.128 297.2)

  • #EB857A

    #EB857A

    oklch(72.5% 0.127 27.1)

  • #A0B04B

    #A0B04B

    oklch(72.4% 0.128 117.2)

  • #00BBCE

    #00BBCE

    oklch(72.4% 0.124 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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