#AF58E0

Closest named color: Medium Orchid (#BA55D3). oklch(62.4% 0.207 311.3), rgb(175, 88, 224).

Aa

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

About this color

#AF58E0 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.207 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.028 away. Black text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.207)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.29:1
White text3.96:1

Values

HEX#AF58E0
RGBrgb(175, 88, 224)
HSLhsl(278, 69%, 61%)
OKLCHoklch(62.4% 0.207 311.3)

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 #AF58E0 3.96:1 AA large text Lc -71.9 Content text, not long reading
Black text on #AF58E0 5.29:1 AA Lc 37.6 Non-text elements, placeholder text
#AF58E0 text on white 3.96:1 AA large text Lc 66.4 Content text, not long reading
#AF58E0 text on black 5.29:1 AA Lc -35.2 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF5

    oklch(88.4% 0.056 311)

  4. Step 300

    300

    #D6AEF1

    oklch(80.9% 0.102 311.3)

  5. Step 400

    400

    #C180E9

    oklch(70.7% 0.161 311.4)

  6. Step 500

    500 (this color)

    #AF58E0

    oklch(62.4% 0.207 311.3)

  7. Step 600

    600

    #9D39D0

    oklch(55.6% 0.225 311.5)

  8. Step 700

    700

    #8629B4

    oklch(49% 0.209 311.4)

  9. Step 800

    800

    #6D2592

    oklch(42.7% 0.173 311.3)

  10. Step 900

    900

    #582574

    oklch(37.6% 0.134 311.3)

  11. Step 950

    950

    #341744

    oklch(27% 0.085 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF58E0 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)#217BE40.185
Deuteranopia (no green cones)#4C81DD0.162
Tritanopia (no blue cones)#A972940.142
Achromatopsia (no color)#8080800.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF58E0

    #AF58E0

    oklch(62.4% 0.207 311.3)

  • #609B00

    #609B00

    oklch(62.4% 0.172 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF58E0

    #AF58E0

    oklch(62.4% 0.207 311.3)

  • #776EFE

    #776EFE

    oklch(62.3% 0.207 281.3)

  • #D445AB

    #D445AB

    oklch(62.4% 0.207 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF58E0

    #AF58E0

    oklch(62.4% 0.207 311.3)

  • #988900

    #988900

    oklch(62.4% 0.131 101.7)

  • #00A06C

    #00A06C

    oklch(62.3% 0.138 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF58E0

    #AF58E0

    oklch(62.4% 0.207 311.3)

  • #B97700

    #B97700

    oklch(62.4% 0.134 71.1)

  • #009B97

    #009B97

    oklch(62.3% 0.107 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF58E0

    #AF58E0

    oklch(62.4% 0.207 311.3)

  • #E05200

    #E05200

    oklch(62.3% 0.19 41.3)

  • #609B00

    #609B00

    oklch(62.4% 0.172 131.3)

  • #0096B8

    #0096B8

    oklch(62.4% 0.115 221.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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