#A173E7

Closest named color: Medium Purple (#9370DB). oklch(65.2% 0.171 300), rgb(161, 115, 231).

Aa

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

About this color

#A173E7 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.171 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.030 away. Black text reads best on it, at 6.12:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.171)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.12:1
White text3.43:1

Values

HEX#A173E7
RGBrgb(161, 115, 231)
HSLhsl(264, 71%, 68%)
OKLCHoklch(65.2% 0.171 300)

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 #A173E7 3.43:1 AA large text Lc -67.0 Content text, not long reading
Black text on #A173E7 6.12:1 AA Lc 42.5 Non-text elements, placeholder text
#A173E7 text on white 3.43:1 AA large text Lc 61.6 Content text, not long reading
#A173E7 text on black 6.12:1 AA Lc -40.1 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DDD3F4

    oklch(88.5% 0.046 299.3)

  4. Step 300

    300

    #C9B5EF

    oklch(81% 0.083 300.3)

  5. Step 400

    400

    #AE8CE7

    oklch(70.7% 0.134 300.2)

  6. Step 500

    500 (this color)

    #A173E7

    oklch(65.2% 0.171 300)

  7. Step 600

    600

    #8651CD

    oklch(55.6% 0.185 300.1)

  8. Step 700

    700

    #7241B2

    oklch(49.2% 0.172 300.1)

  9. Step 800

    800

    #5C3690

    oklch(42.6% 0.143 299.8)

  10. Step 900

    900

    #4B3073

    oklch(37.6% 0.112 299.6)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#A173E7 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)#4B8AEB0.118
Deuteranopia (no green cones)#578AE40.109
Tritanopia (no blue cones)#9389A20.132
Achromatopsia (no color)#8A8A8A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A173E7

    #A173E7

    oklch(65.2% 0.171 300)

  • #849C00

    #849C00

    oklch(65.1% 0.155 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A173E7

    #A173E7

    oklch(65.2% 0.171 300)

  • #6886F7

    #6886F7

    oklch(65.2% 0.171 269.9)

  • #C864C1

    #C864C1

    oklch(65.4% 0.171 330)

Open the analogous palette in the generator

Split complementary

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

  • #A173E7

    #A173E7

    oklch(65.2% 0.171 300)

  • #AF8B00

    #AF8B00

    oklch(65.2% 0.133 90.3)

  • #1EAB53

    #1EAB53

    oklch(65.1% 0.17 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A173E7

    #A173E7

    oklch(65.2% 0.171 300)

  • #D17500

    #D17500

    oklch(65.2% 0.153 60.2)

  • #00A793

    #00A793

    oklch(65.3% 0.118 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A173E7

    #A173E7

    oklch(65.2% 0.171 300)

  • #E55F4D

    #E55F4D

    oklch(65.3% 0.17 30)

  • #849C00

    #849C00

    oklch(65.1% 0.155 120)

  • #00A2B6

    #00A2B6

    oklch(65.3% 0.113 210.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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