#A540AF

Closest named color: Purply (#983FB2). oklch(55.3% 0.189 324), rgb(165, 64, 175).

Aa

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

About this color

#A540AF is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.189 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.027 away. White text reads best on it, at 5.31:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.189)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.95:1
White text5.31:1

Values

HEX#A540AF
RGBrgb(165, 64, 175)
HSLhsl(295, 46%, 47%)
OKLCHoklch(55.3% 0.189 324)

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 #A540AF 5.31:1 AA Lc -81.0 Fine for body text
Black text on #A540AF 3.95:1 AA large text Lc 28.4 Dividers and decoration only
#A540AF text on white 5.31:1 AA Lc 75.7 Fine for body text
#A540AF text on black 3.95:1 AA large text Lc -26.1 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E9CFEB

    oklch(88.4% 0.047 323.8)

  4. Step 300

    300

    #DCAEE0

    oklch(80.8% 0.085 323.7)

  5. Step 400

    400

    #CA82D0

    oklch(70.8% 0.135 324.2)

  6. Step 500

    500

    #BB5FC4

    oklch(63.2% 0.173 323.9)

  7. Step 600

    600 (this color)

    #A540AF

    oklch(55.3% 0.189 324)

  8. Step 700

    700

    #8E3297

    oklch(49.1% 0.175 324.1)

  9. Step 800

    800

    #742B7B

    oklch(42.8% 0.145 324.1)

  10. Step 900

    900

    #5E2863

    oklch(37.8% 0.114 324.2)

  11. Step 950

    950

    #37183A

    oklch(27% 0.072 324)

Export this scale for Tailwind in the Tailwind colors tool

#A540AF 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)#2A63B20.191
Deuteranopia (no green cones)#526FAC0.164
Tritanopia (no blue cones)#A851720.111
Achromatopsia (no color)#6B6B6B0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #A540AF

    #A540AF

    oklch(55.3% 0.189 324)

  • #008B1A

    #008B1A

    oklch(55.3% 0.179 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A540AF

    #A540AF

    oklch(55.3% 0.189 324)

  • #7C53D3

    #7C53D3

    oklch(55.3% 0.188 294.1)

  • #BF317A

    #BF317A

    oklch(55.2% 0.189 353.9)

Open the analogous palette in the generator

Split complementary

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

  • #A540AF

    #A540AF

    oklch(55.3% 0.189 324)

  • #727A00

    #727A00

    oklch(55.4% 0.125 114.3)

  • #00866E

    #00866E

    oklch(55.3% 0.105 174.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A540AF

    #A540AF

    oklch(55.3% 0.189 324)

  • #916B00

    #916B00

    oklch(55.1% 0.113 83.9)

  • #00828C

    #00828C

    oklch(55.3% 0.094 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A540AF

    #A540AF

    oklch(55.3% 0.189 324)

  • #AE5700

    #AE5700

    oklch(55.2% 0.138 54.1)

  • #008B1A

    #008B1A

    oklch(55.3% 0.179 144)

  • #007CAB

    #007CAB

    oklch(55.2% 0.116 234)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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