#A172DE

Closest named color: Medium Purple (#9370DB). oklch(64.5% 0.161 302.2), rgb(161, 114, 222).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.161)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.97:1
White text3.51:1

Values

HEX#A172DE
RGBrgb(161, 114, 222)
HSLhsl(266, 62%, 66%)
OKLCHoklch(64.5% 0.161 302.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 #A172DE 3.51:1 AA large text Lc -68.0 Content text, not long reading
Black text on #A172DE 5.97:1 AA Lc 41.6 Non-text elements, placeholder text
#A172DE text on white 3.51:1 AA large text Lc 62.5 Content text, not long reading
#A172DE text on black 5.97:1 AA Lc -39.2 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F2

    oklch(88.5% 0.044 301.7)

  4. Step 300

    300

    #CAB5EC

    oklch(80.9% 0.079 302.1)

  5. Step 400

    400

    #B08DE2

    oklch(70.8% 0.126 302.3)

  6. Step 500

    500 (this color)

    #A172DE

    oklch(64.5% 0.161 302.2)

  7. Step 600

    600

    #8853C6

    oklch(55.6% 0.174 302.3)

  8. Step 700

    700

    #7342AC

    oklch(49% 0.164 302)

  9. Step 800

    800

    #5E378B

    oklch(42.7% 0.136 302.4)

  10. Step 900

    900

    #4D316F

    oklch(37.8% 0.105 302.5)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#A172DE 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)#5188E20.113
Deuteranopia (no green cones)#5D88DB0.104
Tritanopia (no blue cones)#96869E0.123
Achromatopsia (no color)#8989890.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #A172DE

    #A172DE

    oklch(64.5% 0.161 302.2)

  • #7E9C00

    #7E9C00

    oklch(64.6% 0.157 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A172DE

    #A172DE

    oklch(64.5% 0.161 302.2)

  • #6D84EF

    #6D84EF

    oklch(64.6% 0.161 272.1)

  • #C564B8

    #C564B8

    oklch(64.6% 0.161 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #A172DE

    #A172DE

    oklch(64.5% 0.161 302.2)

  • #AA8A00

    #AA8A00

    oklch(64.5% 0.132 92.3)

  • #1DA95A

    #1DA95A

    oklch(64.7% 0.162 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A172DE

    #A172DE

    oklch(64.5% 0.161 302.2)

  • #CC7500

    #CC7500

    oklch(64.5% 0.149 61.9)

  • #00A493

    #00A493

    oklch(64.5% 0.115 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A172DE

    #A172DE

    oklch(64.5% 0.161 302.2)

  • #DE614B

    #DE614B

    oklch(64.5% 0.161 31.9)

  • #7E9C00

    #7E9C00

    oklch(64.6% 0.157 122.3)

  • #009FB6

    #009FB6

    oklch(64.5% 0.113 212.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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