#A158E8

Closest named color: Lighter Purple (#A55AF4). oklch(61.3% 0.211 304.2), rgb(161, 88, 232).

Aa

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

About this color

#A158E8 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.211 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.019 away. Black text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.211)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.07:1
White text4.13:1

Values

HEX#A158E8
RGBrgb(161, 88, 232)
HSLhsl(270, 76%, 63%)
OKLCHoklch(61.3% 0.211 304.2)

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 #A158E8 4.13:1 AA large text Lc -73.4 Content text, not long reading
Black text on #A158E8 5.07:1 AA Lc 36.2 Non-text elements, placeholder text
#A158E8 text on white 4.13:1 AA large text Lc 67.9 Content text, not long reading
#A158E8 text on black 5.07:1 AA Lc -33.8 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0F9

    oklch(88.4% 0.058 304)

  4. Step 300

    300

    #CFB0F7

    oklch(80.9% 0.103 304.2)

  5. Step 400

    400

    #B883F3

    oklch(70.7% 0.165 304.3)

  6. Step 500

    500 (this color)

    #A158E8

    oklch(61.3% 0.211 304.2)

  7. Step 600

    600

    #923DDD

    oklch(55.6% 0.23 303.9)

  8. Step 700

    700

    #7D2DBF

    oklch(49.1% 0.213 304.3)

  9. Step 800

    800

    #65289B

    oklch(42.7% 0.176 303.9)

  10. Step 900

    900

    #52277B

    oklch(37.6% 0.137 304)

  11. Step 950

    950

    #301848

    oklch(26.9% 0.087 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#A158E8 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)#007BED0.171
Deuteranopia (no green cones)#317DE50.157
Tritanopia (no blue cones)#9476980.154
Achromatopsia (no color)#7D7D7D0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #A158E8

    #A158E8

    oklch(61.3% 0.211 304.2)

  • #719200

    #719200

    oklch(61.2% 0.152 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A158E8

    #A158E8

    oklch(61.3% 0.211 304.2)

  • #6270FF

    #6270FF

    oklch(61.3% 0.21 274.2)

  • #CA43B7

    #CA43B7

    oklch(61.3% 0.212 334)

Open the analogous palette in the generator

Split complementary

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

  • #A158E8

    #A158E8

    oklch(61.3% 0.211 304.2)

  • #9D8200

    #9D8200

    oklch(61.4% 0.126 94.3)

  • #009E57

    #009E57

    oklch(61.4% 0.155 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A158E8

    #A158E8

    oklch(61.3% 0.211 304.2)

  • #BC6F00

    #BC6F00

    oklch(61.3% 0.138 64.3)

  • #00998B

    #00998B

    oklch(61.3% 0.109 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A158E8

    #A158E8

    oklch(61.3% 0.211 304.2)

  • #E73E12

    #E73E12

    oklch(61.4% 0.211 34.1)

  • #719200

    #719200

    oklch(61.2% 0.152 124.1)

  • #0094AB

    #0094AB

    oklch(61.3% 0.108 213.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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