#AF25C5

Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.241 321.5), rgb(175, 37, 197).

Aa

White text reads best on this color (5.39:1).

About this color

#AF25C5 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.241 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.044 away. White text reads best on it, at 5.39:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.241)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.89:1
White text5.39:1

Values

HEX#AF25C5
RGBrgb(175, 37, 197)
HSLhsl(292, 68%, 46%)
OKLCHoklch(55.7% 0.241 321.5)

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 #AF25C5 5.39:1 AA Lc -80.7 Fine for body text
Black text on #AF25C5 3.89:1 AA large text Lc 28.7 Dividers and decoration only
#AF25C5 text on white 5.39:1 AA Lc 75.4 Fine for body text
#AF25C5 text on black 3.89:1 AA large text Lc -26.4 Dividers and decoration only

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

  1. Step 50

    50

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF1

    oklch(88.5% 0.059 321.6)

  4. Step 300

    300

    #E1A9EB

    oklch(80.8% 0.109 321.3)

  5. Step 400

    400

    #D178E0

    oklch(70.7% 0.172 321.7)

  6. Step 500

    500

    #C34DD7

    oklch(63% 0.221 321.6)

  7. Step 600

    600 (this color)

    #AF25C5

    oklch(55.7% 0.241 321.5)

  8. Step 700

    700

    #9612AA

    oklch(49.2% 0.224 321.5)

  9. Step 800

    800

    #7A168A

    oklch(42.8% 0.186 321.5)

  10. Step 900

    900

    #621C6E

    oklch(37.6% 0.145 321.4)

  11. Step 950

    950

    #3A1341

    oklch(27.1% 0.092 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF25C5 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)#0061C90.236
Deuteranopia (no green cones)#3D6FC20.213
Tritanopia (no blue cones)#B149770.145
Achromatopsia (no color)#6A6A6A0.243

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF25C5

    #AF25C5

    oklch(55.7% 0.241 321.5)

  • #178C00

    #178C00

    oklch(55.7% 0.185 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF25C5

    #AF25C5

    oklch(55.7% 0.241 321.5)

  • #7D44F1

    #7D44F1

    oklch(55.7% 0.241 291.7)

  • #CD0083

    #CD0083

    oklch(55.8% 0.232 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF25C5

    #AF25C5

    oklch(55.7% 0.241 321.5)

  • #777A00

    #777A00

    oklch(55.8% 0.123 111.5)

  • #00886C

    #00886C

    oklch(55.8% 0.109 171.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF25C5

    #AF25C5

    oklch(55.7% 0.241 321.5)

  • #956B00

    #956B00

    oklch(55.6% 0.115 81.4)

  • #00848B

    #00848B

    oklch(55.8% 0.095 201.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF25C5

    #AF25C5

    oklch(55.7% 0.241 321.5)

  • #B35500

    #B35500

    oklch(55.7% 0.144 51.3)

  • #178C00

    #178C00

    oklch(55.7% 0.185 141.5)

  • #007EAA

    #007EAA

    oklch(55.7% 0.113 231.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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