#A158BA

Closest named color: Amethyst (#9B5FC0). oklch(58.5% 0.161 316.9), rgb(161, 88, 186).

Aa

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

About this color

#A158BA is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.161 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.019 away. Black text reads best on it, at 4.62:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.161)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.62:1
White text4.54:1

Values

HEX#A158BA
RGBrgb(161, 88, 186)
HSLhsl(285, 42%, 54%)
OKLCHoklch(58.5% 0.161 316.9)

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 #A158BA 4.54:1 AA Lc -76.7 Fine for body text
Black text on #A158BA 4.62:1 AA Lc 32.9 Non-text elements, placeholder text
#A158BA text on white 4.54:1 AA Lc 71.2 Content text, not long reading
#A158BA text on black 4.62:1 AA Lc -30.5 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 600.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E4D1EB

    oklch(88.4% 0.041 317)

  4. Step 300

    300

    #D4B3E0

    oklch(81% 0.072 317)

  5. Step 400

    400

    #BE89D1

    oklch(70.7% 0.117 316.9)

  6. Step 500

    500

    #AD6AC4

    oklch(63.2% 0.148 317)

  7. Step 600

    600 (this color)

    #A158BA

    oklch(58.5% 0.161 316.9)

  8. Step 700

    700

    #823F98

    oklch(49.1% 0.151 317.1)

  9. Step 800

    800

    #69357B

    oklch(42.7% 0.124 316.7)

  10. Step 900

    900

    #562F63

    oklch(37.8% 0.096 317.2)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#A158BA 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)#4371BD0.145
Deuteranopia (no green cones)#5A78B70.129
Tritanopia (no blue cones)#A067810.105
Achromatopsia (no color)#7676760.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #A158BA

    #A158BA

    oklch(58.5% 0.161 316.9)

  • #48901F

    #48901F

    oklch(58.4% 0.161 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A158BA

    #A158BA

    oklch(58.5% 0.161 316.9)

  • #7868D5

    #7868D5

    oklch(58.5% 0.161 287.1)

  • #BC4C8E

    #BC4C8E

    oklch(58.4% 0.161 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #A158BA

    #A158BA

    oklch(58.5% 0.161 316.9)

  • #858000

    #858000

    oklch(58.5% 0.125 107)

  • #00926C

    #00926C

    oklch(58.5% 0.121 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A158BA

    #A158BA

    oklch(58.5% 0.161 316.9)

  • #A47000

    #A47000

    oklch(58.4% 0.122 76.6)

  • #008E90

    #008E90

    oklch(58.6% 0.1 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A158BA

    #A158BA

    oklch(58.5% 0.161 316.9)

  • #C55603

    #C55603

    oklch(58.6% 0.161 47.1)

  • #48901F

    #48901F

    oklch(58.4% 0.161 136.9)

  • #0088AF

    #0088AF

    oklch(58.4% 0.113 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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