#A158BB

Closest named color: Amethyst (#9B5FC0). oklch(58.6% 0.162 316.5), rgb(161, 88, 187).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.162)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.62:1
White text4.53:1

Values

HEX#A158BB
RGBrgb(161, 88, 187)
HSLhsl(284, 42%, 54%)
OKLCHoklch(58.6% 0.162 316.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 #A158BB 4.53:1 AA Lc -76.6 Fine for body text
Black text on #A158BB 4.62:1 AA Lc 33.0 Non-text elements, placeholder text
#A158BB text on white 4.53:1 AA Lc 71.1 Content text, not long reading
#A158BB 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

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1EB

    oklch(88.4% 0.041 317)

  4. Step 300

    300

    #D4B3E1

    oklch(81% 0.073 316.4)

  5. Step 400

    400

    #BD89D1

    oklch(70.6% 0.117 316.3)

  6. Step 500

    500

    #AD6AC5

    oklch(63.2% 0.149 316.7)

  7. Step 600

    600 (this color)

    #A158BB

    oklch(58.6% 0.162 316.5)

  8. Step 700

    700

    #813F99

    oklch(49.1% 0.151 316.1)

  9. Step 800

    800

    #69357C

    oklch(42.7% 0.125 316.2)

  10. Step 900

    900

    #562F64

    oklch(37.8% 0.098 316.5)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#A158BB 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)#4272BE0.146
Deuteranopia (no green cones)#5A78B80.129
Tritanopia (no blue cones)#A067810.106
Achromatopsia (no color)#7676760.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #A158BB

    #A158BB

    oklch(58.6% 0.162 316.5)

  • #49901C

    #49901C

    oklch(58.5% 0.162 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A158BB

    #A158BB

    oklch(58.6% 0.162 316.5)

  • #7768D6

    #7768D6

    oklch(58.5% 0.163 286.5)

  • #BD4C8F

    #BD4C8F

    oklch(58.6% 0.163 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #A158BB

    #A158BB

    oklch(58.6% 0.162 316.5)

  • #868000

    #868000

    oklch(58.6% 0.125 106.4)

  • #00926C

    #00926C

    oklch(58.5% 0.121 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A158BB

    #A158BB

    oklch(58.6% 0.162 316.5)

  • #A57000

    #A57000

    oklch(58.6% 0.123 76.1)

  • #008E90

    #008E90

    oklch(58.6% 0.1 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A158BB

    #A158BB

    oklch(58.6% 0.162 316.5)

  • #C65503

    #C65503

    oklch(58.6% 0.162 46.4)

  • #49901C

    #49901C

    oklch(58.5% 0.162 136.5)

  • #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 #A158BB, closest first.

Similar named colors

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

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