#AF5BE8

Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.211 309.1), rgb(175, 91, 232).

Aa

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

About this color

#AF5BE8 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.211 and its hue 309°. 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.48:1.

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

Values

HEX#AF5BE8
RGBrgb(175, 91, 232)
HSLhsl(276, 75%, 63%)
OKLCHoklch(63.2% 0.211 309.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 #AF5BE8 3.82:1 AA large text Lc -70.7 Content text, not long reading
Black text on #AF5BE8 5.48:1 AA Lc 38.8 Non-text elements, placeholder text
#AF5BE8 text on white 3.82:1 AA large text Lc 65.2 Content text, not long reading
#AF5BE8 text on black 5.48: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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E4CFF6

    oklch(88.4% 0.057 309.4)

  4. Step 300

    300

    #D4AEF3

    oklch(80.8% 0.103 309.3)

  5. Step 400

    400

    #BF80ED

    oklch(70.7% 0.165 309.4)

  6. Step 500

    500 (this color)

    #AF5BE8

    oklch(63.2% 0.211 309.1)

  7. Step 600

    600

    #9A39D5

    oklch(55.5% 0.228 309.1)

  8. Step 700

    700

    #8429B9

    oklch(49.1% 0.213 309.2)

  9. Step 800

    800

    #6B2596

    oklch(42.7% 0.176 308.9)

  10. Step 900

    900

    #572577

    oklch(37.7% 0.137 309.3)

  11. Step 950

    950

    #331746

    oklch(27% 0.087 309.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5BE8 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)#1A7FEC0.184
Deuteranopia (no green cones)#4783E50.162
Tritanopia (no blue cones)#A777990.149
Achromatopsia (no color)#8282820.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5BE8

    #AF5BE8

    oklch(63.2% 0.211 309.1)

  • #699C00

    #699C00

    oklch(63.2% 0.168 129.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5BE8

    #AF5BE8

    oklch(63.2% 0.211 309.1)

  • #7574FF

    #7574FF

    oklch(63.2% 0.201 279.3)

  • #D647B3

    #D647B3

    oklch(63.2% 0.211 339)

Open the analogous palette in the generator

Split complementary

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

  • #AF5BE8

    #AF5BE8

    oklch(63.2% 0.211 309.1)

  • #9E8A00

    #9E8A00

    oklch(63.2% 0.131 99)

  • #00A469

    #00A469

    oklch(63.4% 0.146 159)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5BE8

    #AF5BE8

    oklch(63.2% 0.211 309.1)

  • #BF7800

    #BF7800

    oklch(63.3% 0.138 69)

  • #009F97

    #009F97

    oklch(63.3% 0.11 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5BE8

    #AF5BE8

    oklch(63.2% 0.211 309.1)

  • #E94E00

    #E94E00

    oklch(63.3% 0.202 39.1)

  • #699C00

    #699C00

    oklch(63.2% 0.168 129.1)

  • #0099B9

    #0099B9

    oklch(63.1% 0.115 219.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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