#AB5FC6

Closest named color: Amethyst (#9B5FC0). oklch(61.4% 0.167 316.6), rgb(171, 95, 198).

Aa

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

About this color

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

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

Values

HEX#AB5FC6
RGBrgb(171, 95, 198)
HSLhsl(284, 47%, 57%)
OKLCHoklch(61.4% 0.167 316.6)

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 #AB5FC6 4.05:1 AA large text Lc -72.9 Content text, not long reading
Black text on #AB5FC6 5.18:1 AA Lc 36.7 Non-text elements, placeholder text
#AB5FC6 text on white 4.05:1 AA large text Lc 67.4 Content text, not long reading
#AB5FC6 text on black 5.18:1 AA Lc -34.3 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D0EE

    oklch(88.4% 0.046 315.8)

  4. Step 300

    300

    #D6B1E4

    oklch(80.9% 0.081 316.7)

  5. Step 400

    400

    #C186D7

    oklch(70.8% 0.131 316.5)

  6. Step 500

    500 (this color)

    #AB5FC6

    oklch(61.4% 0.167 316.6)

  7. Step 600

    600

    #9C48B8

    oklch(55.6% 0.182 316.8)

  8. Step 700

    700

    #85399F

    oklch(49.1% 0.169 316.5)

  9. Step 800

    800

    #6C3081

    oklch(42.7% 0.14 316.4)

  10. Step 900

    900

    #582B67

    oklch(37.6% 0.11 317)

  11. Step 950

    950

    #331A3D

    oklch(26.9% 0.07 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB5FC6 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)#4979C90.149
Deuteranopia (no green cones)#6181C30.133
Tritanopia (no blue cones)#AA6F8A0.109
Achromatopsia (no color)#7E7E7E0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5FC6

    #AB5FC6

    oklch(61.4% 0.167 316.6)

  • #4F9A22

    #4F9A22

    oklch(61.4% 0.168 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5FC6

    #AB5FC6

    oklch(61.4% 0.167 316.6)

  • #7F70E2

    #7F70E2

    oklch(61.4% 0.167 286.4)

  • #C85398

    #C85398

    oklch(61.4% 0.167 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB5FC6

    #AB5FC6

    oklch(61.4% 0.167 316.6)

  • #8E8800

    #8E8800

    oklch(61.2% 0.131 106.6)

  • #009C73

    #009C73

    oklch(61.4% 0.127 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5FC6

    #AB5FC6

    oklch(61.4% 0.167 316.6)

  • #AF7800

    #AF7800

    oklch(61.4% 0.128 76.8)

  • #009799

    #009799

    oklch(61.3% 0.104 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5FC6

    #AB5FC6

    oklch(61.4% 0.167 316.6)

  • #D15C0B

    #D15C0B

    oklch(61.3% 0.167 46.6)

  • #4F9A22

    #4F9A22

    oklch(61.4% 0.168 136.6)

  • #0091BA

    #0091BA

    oklch(61.2% 0.118 226.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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