#AF62FB

Closest named color: Lighter Purple (#A55AF4). oklch(65.4% 0.221 304.1), rgb(175, 98, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.221)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.96:1
White text3.52:1

Values

HEX#AF62FB
RGBrgb(175, 98, 251)
HSLhsl(270, 95%, 68%)
OKLCHoklch(65.4% 0.221 304.1)

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 #AF62FB 3.52:1 AA large text Lc -67.7 Content text, not long reading
Black text on #AF62FB 5.96:1 AA Lc 41.8 Non-text elements, placeholder text
#AF62FB text on white 3.52:1 AA large text Lc 62.3 Content text, not long reading
#AF62FB text on black 5.96:1 AA Lc -39.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E2D0FA

    oklch(88.5% 0.06 304.6)

  4. Step 300

    300

    #D0AFFA

    oklch(80.9% 0.109 304.2)

  5. Step 400

    400

    #B981F7

    oklch(70.7% 0.174 304.2)

  6. Step 500

    500 (this color)

    #AF62FB

    oklch(65.4% 0.221 304.1)

  7. Step 600

    600

    #9437E2

    oklch(55.6% 0.241 304.1)

  8. Step 700

    700

    #7E27C4

    oklch(49.1% 0.224 304)

  9. Step 800

    800

    #66249E

    oklch(42.6% 0.184 304)

  10. Step 900

    900

    #53257E

    oklch(37.7% 0.144 303.9)

  11. Step 950

    950

    #31174A

    oklch(27.1% 0.092 304.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF62FB 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)#0087FF0.181
Deuteranopia (no green cones)#3A88F80.163
Tritanopia (no blue cones)#A182A60.162
Achromatopsia (no color)#8888880.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF62FB

    #AF62FB

    oklch(65.4% 0.221 304.1)

  • #7CA000

    #7CA000

    oklch(65.5% 0.163 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF62FB

    #AF62FB

    oklch(65.4% 0.221 304.1)

  • #7082FF

    #7082FF

    oklch(65.4% 0.185 274)

  • #DB4CC6

    #DB4CC6

    oklch(65.3% 0.221 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF62FB

    #AF62FB

    oklch(65.4% 0.221 304.1)

  • #AB8E00

    #AB8E00

    oklch(65.4% 0.134 94.4)

  • #00AC5F

    #00AC5F

    oklch(65.3% 0.165 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF62FB

    #AF62FB

    oklch(65.4% 0.221 304.1)

  • #CD7900

    #CD7900

    oklch(65.3% 0.148 64)

  • #00A798

    #00A798

    oklch(65.4% 0.116 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF62FB

    #AF62FB

    oklch(65.4% 0.221 304.1)

  • #FA471B

    #FA471B

    oklch(65.4% 0.221 34.1)

  • #7CA000

    #7CA000

    oklch(65.5% 0.163 124.1)

  • #00A2BB

    #00A2BB

    oklch(65.5% 0.115 213.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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