#A254B8

Closest named color: Amethyst (#9B5FC0). oklch(57.9% 0.166 318.4), rgb(162, 84, 184).

Aa

White text reads best on this color (4.67:1).

About this color

#A254B8 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.166 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.027 away. White text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.166)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.49:1
White text4.67:1

Values

HEX#A254B8
RGBrgb(162, 84, 184)
HSLhsl(287, 41%, 53%)
OKLCHoklch(57.9% 0.166 318.4)

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 #A254B8 4.67:1 AA Lc -77.5 Fine for body text
Black text on #A254B8 4.49:1 AA large text Lc 32.1 Non-text elements, placeholder text
#A254B8 text on white 4.67:1 AA Lc 72.0 Content text, not long reading
#A254B8 text on black 4.49:1 AA large text Lc -29.7 Dividers and decoration only

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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EB

    oklch(88.5% 0.041 318.4)

  4. Step 300

    300

    #D5B2E0

    oklch(80.9% 0.074 318)

  5. Step 400

    400

    #C088D0

    oklch(70.7% 0.119 318.6)

  6. Step 500

    500

    #AF68C4

    oklch(63.1% 0.152 318.2)

  7. Step 600

    600 (this color)

    #A254B8

    oklch(57.9% 0.166 318.4)

  8. Step 700

    700

    #843D98

    oklch(49.1% 0.155 318.3)

  9. Step 800

    800

    #6B337B

    oklch(42.6% 0.128 318.2)

  10. Step 900

    900

    #572E63

    oklch(37.7% 0.099 318.2)

  11. Step 950

    950

    #331B3A

    oklch(26.9% 0.064 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#A254B8 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)#3F6FBB0.153
Deuteranopia (no green cones)#5977B50.136
Tritanopia (no blue cones)#A2637E0.106
Achromatopsia (no color)#7474740.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #A254B8

    #A254B8

    oklch(57.9% 0.166 318.4)

  • #3F901C

    #3F901C

    oklch(58% 0.167 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A254B8

    #A254B8

    oklch(57.9% 0.166 318.4)

  • #7964D5

    #7964D5

    oklch(57.9% 0.167 288.6)

  • #BD488B

    #BD488B

    oklch(57.9% 0.166 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #A254B8

    #A254B8

    oklch(57.9% 0.166 318.4)

  • #817F00

    #817F00

    oklch(57.9% 0.125 108.6)

  • #00906D

    #00906D

    oklch(58% 0.117 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A254B8

    #A254B8

    oklch(57.9% 0.166 318.4)

  • #A07000

    #A07000

    oklch(58% 0.12 78.9)

  • #008B8F

    #008B8F

    oklch(57.8% 0.098 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A254B8

    #A254B8

    oklch(57.9% 0.166 318.4)

  • #C15600

    #C15600

    oklch(57.9% 0.157 48.2)

  • #3F901C

    #3F901C

    oklch(58% 0.167 138.4)

  • #0086AF

    #0086AF

    oklch(57.9% 0.114 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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