#AF5CBC

Closest named color: Amethyst (#9B5FC0). oklch(60.9% 0.164 322), rgb(175, 92, 188).

Aa

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

About this color

#AF5CBC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.164 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.036 away. Black text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.164)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text5.07:1
White text4.13:1

Values

HEX#AF5CBC
RGBrgb(175, 92, 188)
HSLhsl(292, 42%, 55%)
OKLCHoklch(60.9% 0.164 322)

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 #AF5CBC 4.13:1 AA large text Lc -73.5 Content text, not long reading
Black text on #AF5CBC 5.07:1 AA Lc 36.1 Non-text elements, placeholder text
#AF5CBC text on white 4.13:1 AA large text Lc 68.0 Content text, not long reading
#AF5CBC text on black 5.07:1 AA Lc -33.6 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E8D0EB

    oklch(88.5% 0.045 322.5)

  4. Step 300

    300

    #DAB0E0

    oklch(81% 0.08 322.1)

  5. Step 400

    400

    #C684D0

    oklch(70.7% 0.129 322.1)

  6. Step 500

    500 (this color)

    #AF5CBC

    oklch(60.9% 0.164 322)

  7. Step 600

    600

    #A147B0

    oklch(55.6% 0.178 321.7)

  8. Step 700

    700

    #8A3797

    oklch(49.1% 0.166 322)

  9. Step 800

    800

    #702F7A

    oklch(42.7% 0.136 322.1)

  10. Step 900

    900

    #5B2B63

    oklch(37.8% 0.107 321.7)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5CBC 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)#4D77BF0.155
Deuteranopia (no green cones)#6780B90.137
Tritanopia (no blue cones)#B169840.100
Achromatopsia (no color)#7D7D7D0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5CBC

    #AF5CBC

    oklch(60.9% 0.164 322)

  • #3D9A35

    #3D9A35

    oklch(60.9% 0.164 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5CBC

    #AF5CBC

    oklch(60.9% 0.164 322)

  • #876CDB

    #876CDB

    oklch(60.9% 0.163 292)

  • #C9518D

    #C9518D

    oklch(60.9% 0.165 352)

Open the analogous palette in the generator

Split complementary

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

  • #AF5CBC

    #AF5CBC

    oklch(60.9% 0.164 322)

  • #858A00

    #858A00

    oklch(60.9% 0.135 112.3)

  • #00997B

    #00997B

    oklch(60.9% 0.118 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5CBC

    #AF5CBC

    oklch(60.9% 0.164 322)

  • #A87A00

    #A87A00

    oklch(60.9% 0.126 82.1)

  • #00959D

    #00959D

    oklch(61% 0.104 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5CBC

    #AF5CBC

    oklch(60.9% 0.164 322)

  • #C96200

    #C96200

    oklch(60.9% 0.156 52.2)

  • #3D9A35

    #3D9A35

    oklch(60.9% 0.164 142)

  • #008EC0

    #008EC0

    oklch(60.8% 0.125 232.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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