#A173E2

Closest named color: Medium Purple (#9370DB). oklch(64.9% 0.164 301.1), rgb(161, 115, 226).

Aa

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

About this color

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

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

Values

HEX#A173E2
RGBrgb(161, 115, 226)
HSLhsl(265, 66%, 67%)
OKLCHoklch(64.9% 0.164 301.1)

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 #A173E2 3.46:1 AA large text Lc -67.4 Content text, not long reading
Black text on #A173E2 6.06:1 AA Lc 42.1 Non-text elements, placeholder text
#A173E2 text on white 3.46:1 AA large text Lc 61.9 Content text, not long reading
#A173E2 text on black 6.06:1 AA Lc -39.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F3

    oklch(88.6% 0.045 301.1)

  4. Step 300

    300

    #C9B5ED

    oklch(80.9% 0.081 301)

  5. Step 400

    400

    #AE8DE4

    oklch(70.7% 0.128 300.6)

  6. Step 500

    500 (this color)

    #A173E2

    oklch(64.9% 0.164 301.1)

  7. Step 600

    600

    #8752C9

    oklch(55.6% 0.179 301.3)

  8. Step 700

    700

    #7242AE

    oklch(49.1% 0.166 300.9)

  9. Step 800

    800

    #5D378D

    oklch(42.7% 0.138 301.1)

  10. Step 900

    900

    #4C3171

    oklch(37.8% 0.107 300.9)

  11. Step 950

    950

    #2C1D42

    oklch(26.9% 0.068 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#A173E2 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)#4F89E60.114
Deuteranopia (no green cones)#5B89DF0.105
Tritanopia (no blue cones)#9587A00.125
Achromatopsia (no color)#8A8A8A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #A173E2

    #A173E2

    oklch(64.9% 0.164 301.1)

  • #819C00

    #819C00

    oklch(64.9% 0.156 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A173E2

    #A173E2

    oklch(64.9% 0.164 301.1)

  • #6B85F2

    #6B85F2

    oklch(64.9% 0.165 271.1)

  • #C664BC

    #C664BC

    oklch(64.9% 0.165 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #A173E2

    #A173E2

    oklch(64.9% 0.164 301.1)

  • #AD8B00

    #AD8B00

    oklch(65% 0.133 91.4)

  • #20AA57

    #20AA57

    oklch(64.9% 0.165 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A173E2

    #A173E2

    oklch(64.9% 0.164 301.1)

  • #CF7500

    #CF7500

    oklch(64.9% 0.151 60.9)

  • #00A693

    #00A693

    oklch(65% 0.117 180.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A173E2

    #A173E2

    oklch(64.9% 0.164 301.1)

  • #E1614D

    #E1614D

    oklch(64.9% 0.164 31)

  • #819C00

    #819C00

    oklch(64.9% 0.156 121.2)

  • #00A1B6

    #00A1B6

    oklch(65% 0.113 211)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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