#A170EA

Closest named color: Medium Purple (#9370DB). oklch(64.9% 0.179 300), rgb(161, 112, 234).

Aa

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

About this color

#A170EA is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.179 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.032 away. Black text reads best on it, at 6.02:1.

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

Values

HEX#A170EA
RGBrgb(161, 112, 234)
HSLhsl(264, 74%, 68%)
OKLCHoklch(64.9% 0.179 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 #A170EA 3.48:1 AA large text Lc -67.6 Content text, not long reading
Black text on #A170EA 6.02:1 AA Lc 41.9 Non-text elements, placeholder text
#A170EA text on white 3.48:1 AA large text Lc 62.2 Content text, not long reading
#A170EA text on black 6.02:1 AA Lc -39.5 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

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300

    #C9B4F1

    oklch(80.9% 0.087 300.2)

  5. Step 400

    400

    #AE8BEA

    oklch(70.7% 0.139 299.8)

  6. Step 500

    500 (this color)

    #A170EA

    oklch(64.9% 0.179 300)

  7. Step 600

    600

    #874ED2

    oklch(55.6% 0.195 299.9)

  8. Step 700

    700

    #733EB6

    oklch(49.2% 0.181 300)

  9. Step 800

    800

    #5D3493

    oklch(42.7% 0.15 299.9)

  10. Step 900

    900

    #4C2F75

    oklch(37.7% 0.116 300)

  11. Step 950

    950

    #2C1C45

    oklch(26.9% 0.075 299.4)

Export this scale for Tailwind in the Tailwind colors tool

#A170EA 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)#4389EE0.126
Deuteranopia (no green cones)#5188E70.116
Tritanopia (no blue cones)#9288A20.139
Achromatopsia (no color)#8989890.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #A170EA

    #A170EA

    oklch(64.9% 0.179 300)

  • #849B00

    #849B00

    oklch(64.8% 0.153 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A170EA

    #A170EA

    oklch(64.9% 0.179 300)

  • #6684FB

    #6684FB

    oklch(65% 0.179 270.1)

  • #C960C2

    #C960C2

    oklch(65% 0.179 330)

Open the analogous palette in the generator

Split complementary

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

  • #A170EA

    #A170EA

    oklch(64.9% 0.179 300)

  • #AE8A00

    #AE8A00

    oklch(64.9% 0.133 90.1)

  • #00AB4F

    #00AB4F

    oklch(64.8% 0.178 150.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A170EA

    #A170EA

    oklch(64.9% 0.179 300)

  • #D07400

    #D07400

    oklch(64.9% 0.152 59.9)

  • #00A692

    #00A692

    oklch(65% 0.118 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A170EA

    #A170EA

    oklch(64.9% 0.179 300)

  • #E75A48

    #E75A48

    oklch(64.9% 0.179 30)

  • #849B00

    #849B00

    oklch(64.8% 0.153 119.7)

  • #00A1B5

    #00A1B5

    oklch(65% 0.112 210.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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