#A170EB

Closest named color: Medium Purple (#9370DB). oklch(65% 0.18 299.8), rgb(161, 112, 235).

Aa

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

About this color

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

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

Values

HEX#A170EB
RGBrgb(161, 112, 235)
HSLhsl(264, 75%, 68%)
OKLCHoklch(65% 0.18 299.8)

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 #A170EB 3.48:1 AA large text Lc -67.6 Content text, not long reading
Black text on #A170EB 6.03:1 AA Lc 42.0 Non-text elements, placeholder text
#A170EB text on white 3.48:1 AA large text Lc 62.1 Content text, not long reading
#A170EB text on black 6.03:1 AA Lc -39.6 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

    #C9B4F2

    oklch(80.9% 0.089 299.9)

  5. Step 400

    400

    #AE8BEB

    oklch(70.7% 0.14 299.6)

  6. Step 500

    500 (this color)

    #A170EB

    oklch(65% 0.18 299.8)

  7. Step 600

    600

    #874ED2

    oklch(55.6% 0.195 299.9)

  8. Step 700

    700

    #723EB6

    oklch(49.1% 0.181 299.6)

  9. Step 800

    800

    #5D3494

    oklch(42.7% 0.151 299.6)

  10. Step 900

    900

    #4C2F76

    oklch(37.8% 0.118 299.6)

  11. Step 950

    950

    #2C1C45

    oklch(26.9% 0.075 299.4)

Export this scale for Tailwind in the Tailwind colors tool

#A170EB 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)#4289EF0.126
Deuteranopia (no green cones)#5089E80.117
Tritanopia (no blue cones)#9288A30.139
Achromatopsia (no color)#8989890.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A170EB

    #A170EB

    oklch(65% 0.18 299.8)

  • #849C00

    #849C00

    oklch(65.1% 0.155 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A170EB

    #A170EB

    oklch(65% 0.18 299.8)

  • #6584FB

    #6584FB

    oklch(64.9% 0.18 269.8)

  • #C95FC3

    #C95FC3

    oklch(64.9% 0.181 329.6)

Open the analogous palette in the generator

Split complementary

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

  • #A170EB

    #A170EB

    oklch(65% 0.18 299.8)

  • #AF8A00

    #AF8A00

    oklch(65% 0.133 89.6)

  • #00AC4E

    #00AC4E

    oklch(65.1% 0.18 149.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A170EB

    #A170EB

    oklch(65% 0.18 299.8)

  • #D17400

    #D17400

    oklch(65% 0.153 59.6)

  • #00A691

    #00A691

    oklch(64.9% 0.118 179.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A170EB

    #A170EB

    oklch(65% 0.18 299.8)

  • #E85A48

    #E85A48

    oklch(65% 0.18 29.9)

  • #849C00

    #849C00

    oklch(65.1% 0.155 120)

  • #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 #A170EB, closest first.

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

Similar named colors

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

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