#AF54F8

Closest named color: Lighter Purple (#A55AF4). oklch(63.4% 0.236 306.2), rgb(175, 84, 248).

Aa

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

About this color

#AF54F8 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.236 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.020 away. Black text reads best on it, at 5.44:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.236)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.44:1
White text3.85:1

Values

HEX#AF54F8
RGBrgb(175, 84, 248)
HSLhsl(273, 92%, 65%)
OKLCHoklch(63.4% 0.236 306.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 #AF54F8 3.85:1 AA large text Lc -70.8 Content text, not long reading
Black text on #AF54F8 5.44:1 AA Lc 38.8 Non-text elements, placeholder text
#AF54F8 text on white 3.85:1 AA large text Lc 65.3 Content text, not long reading
#AF54F8 text on black 5.44:1 AA Lc -36.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E4CFFB

    oklch(88.6% 0.064 306.7)

  4. Step 300

    300

    #D3ADFC

    oklch(80.9% 0.116 306)

  5. Step 400

    400

    #BE7DFA

    oklch(70.8% 0.185 306.3)

  6. Step 500

    500 (this color)

    #AF54F8

    oklch(63.4% 0.236 306.2)

  7. Step 600

    600

    #9A2BE6

    oklch(55.7% 0.257 306.1)

  8. Step 700

    700

    #8418C8

    oklch(49.2% 0.239 306.2)

  9. Step 800

    800

    #6B1AA1

    oklch(42.7% 0.198 306.4)

  10. Step 900

    900

    #572080

    oklch(37.8% 0.154 306.5)

  11. Step 950

    950

    #33154B

    oklch(27.1% 0.097 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF54F8 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)#007FFD0.192
Deuteranopia (no green cones)#2682F40.185
Tritanopia (no blue cones)#A2789F0.169
Achromatopsia (no color)#8282820.238

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF54F8

    #AF54F8

    oklch(63.4% 0.236 306.2)

  • #729B00

    #729B00

    oklch(63.6% 0.162 126.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF54F8

    #AF54F8

    oklch(63.4% 0.236 306.2)

  • #6E78FF

    #6E78FF

    oklch(63.5% 0.198 276)

  • #DB3BBF

    #DB3BBF

    oklch(63.5% 0.236 336.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF54F8

    #AF54F8

    oklch(63.4% 0.236 306.2)

  • #A28900

    #A28900

    oklch(63.4% 0.13 96.1)

  • #00A562

    #00A562

    oklch(63.5% 0.153 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF54F8

    #AF54F8

    oklch(63.4% 0.236 306.2)

  • #C37600

    #C37600

    oklch(63.5% 0.141 66)

  • #00A095

    #00A095

    oklch(63.5% 0.111 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF54F8

    #AF54F8

    oklch(63.4% 0.236 306.2)

  • #F04400

    #F04400

    oklch(63.4% 0.216 36.1)

  • #729B00

    #729B00

    oklch(63.6% 0.162 126.1)

  • #009BB6

    #009BB6

    oklch(63.5% 0.113 215.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF54F8.

Similar named colors

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

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